Skip to content
DOI-NPSPublic

About

Repo for the GLKN water quality R shiny app

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

GLKNViz (branch main)

Description

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.

Documents

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.

Live Demo:

Click here to run the app

Getting started: Running locally

  1. Create a new R Studio project File -> New Project -> Version Control -> Git -> https://github.com/DOI-NPS/GLKNWViz

  2. Create a data folder. In the Console:

dir.create("data")
  1. Copy the following files to your data folder from (insert link when available)
  • chr_lookup.csv
  • stations.csv
  • thresholds.csv
  1. Run the wqp_retrival.R code to retrieve data from the Water Quality Portal

  2. 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()
  1. If the app runs for you, continue on. Otherwise, contact Kinzie Bailey.

About

Repo for the GLKN water quality R shiny app

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages