Changes in version 0.5.0 (2026-04-01) 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 the en_fecond_threshold argument) (#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. Changes in version 0.4.2 (2023-09-15) - Move package {KSgeneral} to Suggests (#103). This avoids package breaking when {KSgeneral} is not available on CRAN. For the moment not taking further measures to protect against it, as the package is currently back on CRAN. Changes in version 0.4.1 (2021-06-11) - Fixed non-working get_xg3() and get_chem() for data frame input, by avoiding the currently defunct dbplyr::db_drop_table() (#89, 08bc66d). - Various maintenance (#81, #86, #87, #88, c382499). Changes in version 0.4.0 (2021-01-18) - This release has been made compatible with dbplyr 2.0.0 (on CRAN); the dbplyr fork is not needed anymore (e66e58f, #74). - Follow the installation procedure on the homepage (readme) to upgrade. - Lazy results of get_locs(), get_xg3() and get_chem() are not sorted anymore. Sorting is done in tibbles only, i.e. if collect = TRUE. For more information, consult the Note added in the documentation of these functions. - Fix broken selectlocs_xg3() and selectlocs_chem() (#73). - Fix get_locs() error when no locations remain after spatial masking (c96421e). - Fix get_locs() error when obswell_aggr = "mean" (#80). - Adopt further inbodb functionality (#75): - re-export its dbDisconnect(); - transfer handling of character encoding to inbodb. - Improve documentation and pkgdown website (#76, #77, 3986b4e). Changes in version 0.3.0 (2020-05-20) New features - New function cluster_locs() to spatially cluster locations (well clusters) (#39) - More fun with get_locs(): - optionally allow groundwater piezometers with missing filterdepth (argument filterdepth_na) - optionally replace missing filterdepth values in a conservative way, based on tubelength (argument filterdepth_guess, #44) - return eight more observation well attributes beside filterdepth (#44) - four methods are available to aggregate observation well attributes per location (argument obswell_aggr, #44) - applying a spatial mask is now a little speedier (#57) - as_points() and get_locs() return a warning when duplicated coordinates occur in their local result (#51, thanks @w-jan) - Package dependency moved from inborutils to inbodb: this is a change within connect_watina() which should not affect its behaviour and which reduces overall package dependencies. Further, a number of smaller fixes and enhancements were made. Changes in version 0.2.6 (2020-02-28) - Redo fix get_locs(): calculation of soilsurf_ost (#43) Changes in version 0.2.5 (2020-02-27) - Bugfix in get_locs(): calculation of soilsurf_ost (#42) Changes in version 0.2.4 (2020-01-29) - Bugfix in convertdf_enc() (#34) - Some small documentation improvements Changes in version 0.2.3 (2020-01-09) - Documentation is now generated by the newer roxygen2 version 7.0.2, resulting in a better layout of function arguments in the 'usage' section. Changes in version 0.2.2 (2019-11-04) - On Windows, the functions now convert 'weird' characters from the data warehouse to proper UTF-8. - Bugfix (#29) in get_locs() regarding the default implementation of the loc_validity argument. Changes in version 0.2.1 (2019-10-14) - Fixed bug in some hyperlinks in function documentation, affecting the installation process on Windows (warnings were thrown). Changes in version 0.2.0 (2019-10-02) New features - Several functions have been added to query and process chemical data. - Three vignettes have been added. - Improved various existing functionalities from version 0.1.0, based on user's feedback.