This is the R Shiny application of the GroundWater Spatiotemporal Data Analysis Tool (GWSDAT) for the analysis of groundwater monitoring data.
This app can be deployed on a Shiny Server supporting multiple data sets and users, and a stand-alone mode (Excel Mode), which is limited to a single data set.
For latest development version, install from github using the
devtools R package:
Or install from CRAN:
On the server, install the package as shown above and create a directory
GWSDAT inside the Shiny app folder defined in
/etc/shiny-server/shiny-server.conf. Create the file
GWSDAT/app.R with the following content:
The Stand-Alone Mode provides a slim version of the UI for exploring a single data set. Install the package as above and pass a
GWSDAT_Options list to
library("GWSDAT") # Define GWSDAT_Options # .. launchApp(GWSDAT_Options)
GWSDAT_Options list must define the elements
WellCoordsFilename. The method
GWSDAT::createOptions() creates this
library(GWSDAT) opt <- createOptions("Site Name") opt$WellDataFilename <- 'path_to_concentration_file' opt$WellCoordsFilename <- 'path_to_well_coordinate_file' launchApp(opt)
Inside the Shiny app, a data analysis session can be saved inside the Analysis panel, in the top navigation bar under More -> Save Session. This creates a
.rds file that can be loaded with the
GWSDAT::launchApp(session_file = "path_to_file.rds")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.