ODEQ Continuous Data Review
A R package that provides QA/QC support for review of continuous data entered into the Oregon Department of Environmental Quality's continuous water quality data templates.
library(remotes)
remotes::install_github(repo = 'OR-Dept-Environmental-Quality/odeqcdr',
host = 'https://api.github.com',
dependencies= TRUE, force = TRUE, upgrade='never')
# Suggest installing odeqmloctools for location review
remotes::install_github(repo = 'OR-Dept-Environmental-Quality/odeqmloctools',
host = 'https://api.github.com',
dependencies= TRUE, force = TRUE, upgrade='never')
This outlines the general workflow using the odeqcdr functions. Not all steps are included.
See example.R
for a specific example.
library(odeqmloctools)
#- Import the xlsx template -
odeqcdr::contin_import()
#- Set Project ID -
#- Completeness Pre checks -
odeqcdr::pre_checks()
#- Monitoring location review -
odeqmloctools::launch_map()
#- Datetime Checks -
# timezone check
# Daylight savings check
odeqcdr::dst_check()
# Make a datetime
odeqcdr::dt_combine()
# Apply datetime corrections
odeqcdr::dt_parts()
#- Unit Conversion -
#- DQL grading -
odeqcdr::dql_accuracy()
odeqcdr::dql_precision()
# Final DQL
# Flag potential anomalies
odeqcdr::anomaly_check()
# Launch Shiny app for further review
odeqcdr::launch_shiny()
#- Make DQL and Result Status edits -
#- Generate Summary Stats -
odeqcdr::sumstats()
#- Export back to xlsx -
odeqcdr::contin_export()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.