Package: MassWateR 2.1.5

MassWateR: Quality Control and Analysis of Massachusetts Water Quality Data

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>.

Authors:Marcus Beck [aut, cre], Jill Carr [aut], Ben Wetherill [aut]

MassWateR_2.1.5.tar.gz
MassWateR_2.1.5.zip(r-4.5)MassWateR_2.1.5.zip(r-4.4)MassWateR_2.1.5.zip(r-4.3)
MassWateR_2.1.5.tgz(r-4.4-any)MassWateR_2.1.5.tgz(r-4.3-any)
MassWateR_2.1.5.tar.gz(r-4.5-noble)MassWateR_2.1.5.tar.gz(r-4.4-noble)
MassWateR_2.1.5.tgz(r-4.4-emscripten)MassWateR_2.1.5.tgz(r-4.3-emscripten)
MassWateR.pdf |MassWateR.html
MassWateR/json (API)
NEWS

# Install 'MassWateR' in R:
install.packages('MassWateR', repos = c('https://fawda123.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/massbays-tech/masswater/issues

Datasets:
  • paramsMWR - Master parameter list and units for Characteristic Name column in results data
  • thresholdMWR - Master thresholds list for analysis of results data

On CRAN:

5.19 score 11 stars 10 scripts 751 downloads 43 exports 108 dependencies

Last updated 11 days agofrom:77229924d6. Checks:OK: 7. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 15 2024
R-4.5-winOKDec 15 2024
R-4.5-linuxOKDec 15 2024
R-4.4-winOKDec 15 2024
R-4.4-macOKDec 15 2024
R-4.3-winOKDec 15 2024
R-4.3-macOKDec 15 2024

Exports:anlzMWRdateanlzMWRmapanlzMWRoutlieranlzMWRoutlierallanlzMWRseasonanlzMWRsitecheckMWRacccheckMWRfrecomcheckMWRresultscheckMWRsitescheckMWRwqxformMWRaccformMWRfrecomformMWRresultsformMWRwqxqcMWRaccqcMWRcomqcMWRfreqcMWRreviewreadMWRaccreadMWRfrecomreadMWRresultsreadMWRresultsviewreadMWRsitesreadMWRwqxtabMWRacctabMWRcomtabMWRfretabMWRwqxutilMWRfilterutilMWRfiltersurfaceutilMWRfreutilMWRhttpgraceutilMWRinpututilMWRinputcheckutilMWRlimitsutilMWRoutlierutilMWRsumfunutilMWRsummaryutilMWRthreshutilMWRtitleutilMWRvaluerangeutilMWRyscale

Dependencies:abindaskpassbase64encbslibcachemcellrangerclassclassIntclicolorspacecpp11crayoncurldata.tableDBIdigestdplyre1071evaluatefansifarverfastmapflextablefontawesomefontBitstreamVerafontLiberationfontquiverfsgdtoolsgenericsggplot2ggrepelggspatialgluegtablehighrhmshtmltoolshttrisobandjpegjquerylibjsonliteKernSmoothknitrlabelinglatticelifecyclelubridatemagrittrmaptilesMASSMatrixmemoisemgcvmimemunsellnlmeofficeropensslpillarpkgconfigpngprettyunitsprogressproxypurrrR6raggrappdirsrasterRColorBrewerRcppreadxlrematchrlangrmarkdownrosms2sassscalessfslippymathspstringistringrsyssystemfontsterratextshapingtibbletidyrtidyselecttidyterratimechangetinytexunitsutf8uuidvctrsviridisLitewithrwkwritexlxfunxml2yamlzip

Readme and manuals

Help Manual

Help pageTopics
Analyze trends by date in results fileanlzMWRdate
Analyze results with mapsanlzMWRmap
Analyze outliers in results fileanlzMWRoutlier
Analyze outliers in results file for all parametersanlzMWRoutlierall
Analyze seasonal trends in results fileanlzMWRseason
Analyze data by sites in results fileanlzMWRsite
Check data quality objective accuracy datacheckMWRacc
Check data quality objective frequency and completeness datacheckMWRfrecom
Check water quality monitoring resultscheckMWRresults
Check site metadata filecheckMWRsites
Check water quality exchange (wqx) metadata inputcheckMWRwqx
Format data quality objective accuracy dataformMWRacc
Format data quality objective frequency and completeness dataformMWRfrecom
Format water quality monitoring resultsformMWRresults
Format WQX metadata inputformMWRwqx
Master parameter list and units for Characteristic Name column in results dataparamsMWR
Run quality control accuracy checks for water quality monitoring resultsqcMWRacc
Run quality control completeness checks for water quality monitoring resultsqcMWRcom
Run quality control frequency checks for water quality monitoring resultsqcMWRfre
Create the quality control review reportqcMWRreview
Read data quality objectives for accuracy from an external filereadMWRacc
Read data quality objectives for frequency and completeness from an external filereadMWRfrecom
Read water quality monitoring results from an external filereadMWRresults
Create summary spreadsheet of the water quality monitoring resultsreadMWRresultsview
Read site metadata from an external filereadMWRsites
Read water quality exchange (wqx) metadata input from an external filereadMWRwqx
Create a formatted table of quality control accuracy checkstabMWRacc
Create a formatted table of quality control completeness checkstabMWRcom
Create a formatted table of quality control frequency checkstabMWRfre
Create and save tables in a single workbook for WQX uploadtabMWRwqx
Master thresholds list for analysis of results datathresholdMWR
Filter results data by parameter, date range, site, result attributes, and/or location grouputilMWRfilter
Filter results data to surface measurementsutilMWRfiltersurface
Prep results data for frequency checksutilMWRfre
Load external file from remote source, fail gracefullyutilMWRhttpgrace
Utility function to import data as paths or data framesutilMWRinput
Check if required inputs are present for a functionutilMWRinputcheck
Fill results data as BDL or AQL with appropriate valuesutilMWRlimits
Identify outliers in a numeric vectorutilMWRoutlier
Verify summary functionutilMWRsumfun
Summarize a results data frame by a grouping variableutilMWRsummary
Get threshold lines from thresholdMWRutilMWRthresh
Format the title for analyze functionsutilMWRtitle
Check if incomplete range in 'Value Range' columnutilMWRvaluerange
Get logical value for y axis scalingutilMWRyscale