MassWateR 2.2.0
- utilMWRsheet()function created to format tabular
output if- savesheet = TRUEfor- qcMWRreview()
- Vignettes updated to describe optional censored data file as input
to quality control workflow
- Censored data file can be included as an optional file in
qcMWRreview()viatabMWRcom()andqcMWRcom()
- Complete workflow to import, check, and format censored data file
using readMWRcens(),checkMWRcens(), andformMWRcens()
- qcMWRreview()has option to save tables in a
spreadsheet using- savesheet = TRUE
- tabMWRcom()places censored data next to qualified
records
- readMWRresultsview()will show- NAentries
if found in a column of the water quality results file
- checkMWRresults()will now return an error (stop) if- NAfound in- Result Valuecolumn
- Training video link added to resources page of website
- tabMWRwqx()has option to return tabular output in a
list format using- listout = TRUE
- anlzMWRoutlierall()has option to export images in a
zipped folder using- format = 'zip'
- bssizeargument added to all analysis functions to
uniformly change font size for all text
- Tests no longer load artifacts into the environment when running
package dev version locally
- Fixed broken links on web page for downloadable resources
MassWateR 2.1.5
- Added check to checkMWRresults()for results data to
verify all values in the quantitation limit column are numbers, with
updated instructions in the results template file
- Parameter list (paramMWR) updated with Pycocyanin,
Phycocyanin (probe), RFU as unit for chlorophyll, including appropriate
updates tothresholdMWR, results template, and WQX
phys-chem template
- Removed prettymapr, raster, added maptile and tidyterra for
anlzMWRmap()basemaps, this changes the options that are
accepted by themaptypeargument
MassWateR 2.1.4
- Improved warning message for all empty or naentries incheckMWRacc()andcheckMWRfrecom()
- Fixed spelling of tabMWRwqx()output in theResult Detection Conditioncolumn for “Present Above
Quantification Limit”
- Fix to checkMWRacc()if more than two value ranges in
DQO accuracy file as ascending, previously resulted in error
- Fix to incorrect parameter paste in error message in
checkMWRfrecom()if values less than 0 or greater than 100
are found
- Improved tests to check error or warning messages for
checkMWRfrecom()andcheckMWRacc()
MassWateR 2.1.3
- anlzMWRmap()has different basemap options using the- maptypeargument, these include- "cartolight",- "cartodark",- "osm", or- "hotstyle". These changes accommodate recent issues with
access to stamen tiles.
- ggmap dependency was removed, added raster and prettymapr
dependencies
- Fixed issue in Roxygen documentation for itemized lists
MassWateR 2.1.2
- Warning is now returned if a column for a QC check includes all
naentries on import of the DQO accuracy file withreadMWRacc()
- readMWRacc()no longer uses- dplyr::na_if()on all columns, only for numeric, to correctly identify columns that
have all- naentries for a QC check
- Sorting behavior for dplyr::arrange()reverted to.locale = 'en'to ignore case
- utilMWRfre()function added to prep results data for
frequency checks, similar to existing- utilMWRlimits()function
- Correct number of data records is now reported by
tabMWRfre()following value range filtering
- tabMWRfre()and- qcMWRfre()now require the
DQO accuracy file as input to identify appropriate ranges to check for
each parameter using the value range column
- Added utilMWRvaluerange()function to check forna, gaps, and overlap in the value range column on import
of the DQO accuracy file withreadMWRacc()
- Error is now returned if overlapping value ranges are present in the
DQO accuracy file
- Warning now returned if gaps are present in the value ranges for a
parameter in the DQO accuracy file
- Fix to checkMWRacc()to convert MDL and UQL columns in
DQO accuracy as numeric following import as text
- Fixed bug to evaluate lab spike QC checks as the absolute
difference, was previously a relative difference
- New error message if the upper value range in the DQO accuracy file
is not a percent value for lab spike QC checks with units as
percentage
- Lab spikes entered as a percent measure are now always evaluated
against the data quality objective for the upper value range
- Better error and warning messages for tabMWRacc()for
incorrect and required data for individual QC checks
MassWateR 2.1.1
- Fix to incorrect secondary label for Enterococcus in
thresholdMWR
- Corrected column name to Record ID User Suppliedin WQX
output fromtabMWRwqx()
- Fix for tabMWRwqx()output if no entries inQC Reference Valuecolumn in the results file, this
previously resulted in an error
- formMWRresults()no longer imports dplyr and tidyr in
Roxygen documentation
- formMWRresults()now handles time and text inputs for- Activity Start Timefrom Excel, all times are correctly
formatted as HH:MM in 24 hour time. This includes more robust testing of
inputs in- text-formMWRresults.R.
- Added check for data quality objectives for accuracy that returns an
error if naentries are included in theValue Rangecolumn, should beall
MassWateR 2.1.0
- Added option to report mean, median, min, max, or geometric mean in
summary plots and maps
- Updated utilMWRtitle()function to accommodate the
previous point
- Replaced utilMWRconfint()function withutilMWRsummary()for additional summary functions
- Added option to change the scale bar from km to mi on the map
created with anlzMWRmap()
- Added option to reverse the color ramp in the legend created with
anlzMWRmap()
- All columns in the results file are now required on input with
readMWRresults(), this includes a new columnLocal Record ID
- Added a new check for depth data in the results file used by
checkMWRresults(), must be present with no missing
values
- Removed cryptic error messages when confidence intervals cannot be
plotted, replaced with informative warning
- Fix to qcMWRacc()if output list elements return a data
frame with zero rows
- Fix to output message that was creating duplicates when a file is
saved to disk
- Fixed incorrect entry description for E. coli in
thresholdMWR
- Data input template files and example files updated
- Created a vignette about the utility functions and added an example
using patchworkin the modifying plots vignette
MassWateR 2.0.2
- utilMWRfilterhas fix to date filter and no longer uses- lubridate::ymd
- All but one test removed for utilMWRfilter, covered in
other tests
- Text for modifying vignette edited for better examples
- Out of state article to vignettes
- Added utilMWRhttpgracefor graceful fails if http
requests do not work, applies toanlzMWRmap
MassWateR 2.0.1
- Removed all uses of case_whenand replaced with baseifelse, this was to address performance issues with dplyr
v1.1.0
- System files for examples replaced with real data
- Slight change to method id and method context logic in
tabMWRwqx
- Functions that write files (e.g., qcMWRreview) require
explicit entry for theoutput_dirargument
- anlzMWRmapnow imports NHD layers from external source
(no user changes)
- Added a NEWS.mdfile to track changes to the
package.
MassWateR 2.0.0
- Initial CRAN release following beta testing