Connect R to dashboard

402
1
06-29-2022 08:20 AM
by Anonymous User
Not applicable

Hello, 

I found a program in R that creates piper diagrams and I was wondering if that was something I'd be able to connect to my dashboard and have it automatically generate Piper diagrams based on the data. Thanks!

Tags (2)
1 Reply
ShaunWalbridge
Esri Regular Contributor

Hello Anonymous,

I don't think that is possible today with the current dashboard design, but there are some approaches that could allow you to accomplish this. Probably the simpler is to generate static images for each of your locations / observations in R, then reference those static images using the embedded content element of dashboards. Then the images will be precomputed in R, but available quickly from the dynamic web app. It technically would be possible to use the R bridge and a geoprocessing service to dynamically generate the images on the fly with R, but would require a server environment to host the GP service and would add additional latency to the application as the R service was executed dynamically.

I hope that helps, Shaun

0 Kudos