The main branch is Version 0.0.1 of the GLKNViz repository. Previous archived
versions of this RShiny app can be found at
www.github.com/kinziebailey/GLKNViz.
This repo contains code to compile data for and run the Great Lakes Network discrete water quality data visualizer.
The following files are part of the repo:
- ui.R: user interface for shiny app
- server.R: server for shiny app
- global.R: global parameters and data frames sourced by shiny app
- modules/: folder containing the plot specific UI and server functions.
- www/: folder containing about information, instructions and CSS.
- GLKN_Visualizer_SOP.Rmd: the SOP for maintaining and running this visualizer.
-
Create a new R Studio project File -> New Project -> Version Control -> Git -> https://github.com/DOI-NPS/GLKNWViz
-
Create a data folder. In the Console:
dir.create("data")
- Copy the following files to your
datafolder from (insert link when available)
- chr_lookup.csv
- stations.csv
- thresholds.csv
-
Run the wqp_retrival.R code to retrieve data from the Water Quality Portal
-
Confirm that you can run the shiny app.
- open
global.R - click the "Run App" button at the top of your code editor
or
- Run the following code in the console (make sure you are in the RProject):
shiny::runApp()
- If the app runs for you, continue on. Otherwise, contact Kinzie Bailey.