# Quality Control and Analysis of Massachusetts Water Quality Data

## Documentation for package ‘MassWateR’ version 2.2.1

- DESCRIPTION file.
- Package NEWS.

## Help Pages

anlzMWRdate | 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
checkMWRcens | Check censored 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
formMWRcens | Format censored data
formMWRfrecom | Format data quality objective frequency and completeness data
formMWRresults | Format water quality monitoring results
formMWRwqx | Format WQX metadata input
paramsMWR | Master parameter list and units for Characteristic Name column in results data
qcMWRacc | Run quality control accuracy checks for water quality monitoring results
qcMWRcom | Run quality control completeness checks for water quality monitoring results
qcMWRfre | Run quality control frequency checks for water quality monitoring results
qcMWRreview | Create the quality control review report
readMWRacc | Read data quality objectives for accuracy from an external file
readMWRcens | Read censored data from an external file
readMWRfrecom | Read data quality objectives for frequency and completeness from an external file
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
thresholdMWR | Master thresholds list for analysis of results data
utilMWRfilter | Filter results data by parameter, date range, site, result attributes, and/or location group
utilMWRfiltersurface | Filter results data to surface measurements
utilMWRfre | Prep results data for frequency checks
utilMWRgetnhd | Query NHD data from an ArcGIS REST service
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
utilMWRsheet | Format a list of QC tables for spreadsheet export
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