Would it be possible to expose parts of the internals of GWSDAT to allow for their easy embedding within other shiny apps or Rmd docs?
Two obvious use cases are a shiny dashboard showing a bunch of metrics for a site including one groundwater tab that embedded the GWSDAT "Analyse" tab. Since the dashboard would be for a particular site, the data set would always be the same the ability to manage data sources would not be needed. A second use case would be an Rmd document that included an embedded shiny component that showed (for example), just the "Spatial Image" frame with the time series slider.
The disadvantage, of course, is that it would make internal re-factoring harder.
Would it be possible to expose parts of the internals of GWSDAT to allow for their easy embedding within other shiny apps or Rmd docs?
Two obvious use cases are a shiny dashboard showing a bunch of metrics for a site including one groundwater tab that embedded the GWSDAT "Analyse" tab. Since the dashboard would be for a particular site, the data set would always be the same the ability to manage data sources would not be needed. A second use case would be an Rmd document that included an embedded shiny component that showed (for example), just the "Spatial Image" frame with the time series slider.
The disadvantage, of course, is that it would make internal re-factoring harder.