New features
This release provides new functionality with regard to ionic ratios and plotting them in a Van Wirdum diagram (#114):
- New function
calculate_ir()to compute the ionic ratio. - New function
ggplot_vanwirdum_background()to get a Van Wirdum diagram as ggplot object (without custom data), to which data layers can be added by the user. - New vignette on plotting chemistry data:
vignette("v230_chem_plots").
Improvements and fixes
get_locs()now substitutes filterlength values of 0 m by 0.3 m (#108). Before, this was only done for missing filterlengths.- Harden
get_chem()with regard to the iron / conductivity ratio calculation (used by theen_fecond_thresholdargument) (#122):- Limit the calculation to the requested locations.
- Set as missing if conductivity is set as zero in the data warehouse, and present a warning in case this occurs.
- Apply tidyverse code style (#119).
- Various maintenance.