Code Monkey home page Code Monkey logo

gwsdat's Introduction

GWSDAT

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.

Install and Run

For latest development version, install from github using the devtools R package:

devtools::install_github("WayneGitShell/GWSDAT")
GWSDAT::launchApp()

Or install from CRAN:

install.packages("GWSDAT")
GWSDAT::launchApp()

Deploy on Shiny Server

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:

library("GWSDAT")
launchApp()

Run in Stand-Alone Mode (ExcelMode)

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 launchApp().

library("GWSDAT")
# Define GWSDAT_Options
# ..
launchApp(GWSDAT_Options)

The GWSDAT_Options list must define the elements WellDataFilename and WellCoordsFilename. The method GWSDAT::createOptions() creates this GWSDAT_Options list.

library(GWSDAT)
opt <- createOptions("Site Name")
opt$WellDataFilename <- 'path_to_concentration_file'
opt$WellCoordsFilename <- 'path_to_well_coordinate_file'
launchApp(opt)

Save & Load Session File

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 launchApp() method:

GWSDAT::launchApp(session_file = "path_to_file.rds")

gwsdat's People

Contributors

andrejadd avatar waynegitshell avatar csgillespie avatar craigalexander avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.