MassWateR2.1.5 package

Quality Control and Analysis of Massachusetts Water Quality Data

anlzMate.Rd

Analyze trends by date in results file

anlzMWRmap

Analyze results with maps

anlzMWRoutlier

Analyze outliers in results file

anlzMWRoutlierall

Analyze outliers in results file for all parameters

anlzMWRseason

Analyze seasonal trends in results file

anlzMWRsite

Analyze data by sites in results file

checkMWRacc

Check data quality objective accuracy data

checkMWRfrecom

Check data quality objective frequency and completeness data

checkMWRresults

Check water quality monitoring results

checkMWRsites

Check site metadata file

checkMWRwqx

Check water quality exchange (wqx) metadata input

formMWRacc

Format data quality objective accuracy data

formMWRfrecom

Format data quality objective frequency and completeness data

formMWRresults

Format water quality monitoring results

formMWRwqx

Format WQX metadata input

qcMWRacc

Run quality control accuracy checks for water quality monitoring resul...

qcMWRcom

Run quality control completeness checks for water quality monitoring r...

qcMWRfre

Run quality control frequency checks for water quality monitoring resu...

qcMWRreview

Create the quality control review report

readMWRacc

Read data quality objectives for accuracy from an external file

readMWRfrecom

Read data quality objectives for frequency and completeness from an ex...

readMWRresults

Read water quality monitoring results from an external file

readMWRresultsview

Create summary spreadsheet of the water quality monitoring results

readMWRsites

Read site metadata from an external file

readMWRwqx

Read water quality exchange (wqx) metadata input from an external file

tabMWRacc

Create a formatted table of quality control accuracy checks

tabMWRcom

Create a formatted table of quality control completeness checks

tabMWRfre

Create a formatted table of quality control frequency checks

tabMWRwqx

Create and save tables in a single workbook for WQX upload

utilMWRfilter

Filter results data by parameter, date range, site, result attributes,...

utilMWRfiltersurface

Filter results data to surface measurements

utilMWRfre

Prep results data for frequency checks

utilMWRhttpgrace

Load external file from remote source, fail gracefully

utilMWRinput

Utility function to import data as paths or data frames

utilMWRinputcheck

Check if required inputs are present for a function

utilMWRlimits

Fill results data as BDL or AQL with appropriate values

utilMWRoutlier

Identify outliers in a numeric vector

utilMWRsumfun

Verify summary function

utilMWRsummary

Summarize a results data frame by a grouping variable

utilMWRthresh

Get threshold lines from thresholdMWR

utilMWRtitle

Format the title for analyze functions

utilMWRvaluerange

Check if incomplete range in Value Range column

utilMWRyscale

Get logical value for y axis scaling

Methods for quality control and exploratory analysis of surface water quality data collected in Massachusetts, USA. Functions are developed to facilitate data formatting for the Water Quality Exchange Network <https://www.epa.gov/waterdata/water-quality-data-upload-wqx> and reporting of data quality objectives to state agencies. Quality control methods are from Massachusetts Department of Environmental Protection (2020) <https://www.mass.gov/orgs/massachusetts-department-of-environmental-protection>.

  • Maintainer: Marcus Beck
  • License: CC0
  • Last published: 2024-10-20