Recent Releases of MassWateR
MassWateR - v2.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()
- R
Published by fawda123 over 2 years ago
MassWateR - v2.1.3
anlzMWRmap()has different basemap options using themaptypeargument, 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
- R
Published by fawda123 over 2 years ago
MassWateR - v2.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 usesdplyr::na_if()on all columns, only for numeric, to correctly identify columns that have allnaentries 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 existingutilMWRlimits()function- Correct number of data records is now reported by
tabMWRfre()following value range filtering tabMWRfre()andqcMWRfre()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 evaluated against the correct data quality objective using the upper value range
- Better error and warning messages for
tabMWRacc()for incorrect and required data for individual QC checks
- R
Published by fawda123 over 2 years ago
MassWateR - v2.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 documentationformMWRresults()now handles time and text inputs forActivity Start Datefrom Excel, all times are correctly formatted as HH:MM in 24 hour time. This includes more robust testing of inputs intext-formMWRresults.R.- Added check for data quality objectives for accuracy that returns an error if
naentries are included in theValue Rangecolumn, should beall - Fix to date output for the
Activity Start Datecolumn returned bytabMWRwqx()to beYYYY-MM-DDcharacter, empty time was previously included as date time object
- R
Published by fawda123 almost 3 years ago
MassWateR - v2.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
- R
Published by fawda123 about 3 years ago
MassWateR - v2.0.2
utilMWRfilterhas fix to date filter and no longer useslubridate::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
- R
Published by fawda123 about 3 years ago
MassWateR - v2.0.1
- Removed any use of
case_whenand replaced withifelseto fix 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)
- R
Published by fawda123 over 3 years ago