Note: transfer of maintainership from Floris Vanderhaeghe to Droomelot De Gendt ([email protected]).
This release migrates the package to the new Watina data warehouse, W0002_10_Watina.
connect_watina() now connects to W0002_10_Watina.get_locs(), get_xg3() and get_chem() to the new warehouse schema (#133, #134, #136).loc_validity argument of get_locs(). Only "VLD" locations are available, and other requested statuses are ignored (#133).get_xg3() now uses FactBRPeilMetingJaar and selects calculation settings through DimParameterSet. The previously unused arguments truncated and with_estimated are now applied and both default to FALSE (#134).get_xg3() errors when no matching parameter set exists. When multiple sets match, it reports the ambiguity and selects the set with the highest ParameterSetWID (#134, #140).get_chem() retrieves electroneutrality from DimStaal and excludes duplicate CondF records (#136).get_xg3() and get_chem() filters and queries for migration comparisons (#132).build_locs_query(), build_xg3_query() and build_chem_query() (#133, #134, #136).drop_all_na documentation: hydroyears with water-level records can be returned with all XG3 values missing, but hydroyears without records are not returned (#140).This release is focused on setting up a testing infrastructure (in preparation for the DWH migration).
get_locs() , get_xg3(), get_chem()).get_chem() with native dbplyr syntax (dplyr::between()) for compatibility with newer dbplyr versions.stage_locs() helper function to simplify get.R logic.DESCRIPTION, and NAMESPACE.git-blame-ignore to keep git blame history clean).This release provides new functionality with regard to ionic ratios and plotting them in a Van Wirdum diagram (#114):
calculate_ir() to compute the ionic ratio.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.vignette("v230_chem_plots").get_locs() now substitutes filterlength values of 0 m by 0.3 m (#108). Before, this was only done for missing filterlengths.get_chem() with regard to the iron / conductivity ratio calculation (used by the en_fecond_threshold argument) (#122):
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.get_xg3() and get_chem() for data frame input, by avoiding the currently defunct dbplyr::db_drop_table() (#89, 08bc66d).dbplyr 2.0.0 (on CRAN); the dbplyr fork is not needed anymore (e66e58f, #74).
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.selectlocs_xg3() and selectlocs_chem() (#73).get_locs() error when no locations remain after spatial masking (c96421e).get_locs() error when obswell_aggr = "mean" (#80).inbodb functionality (#75):
dbDisconnect();inbodb.pkgdown website (#76, #77, 3986b4e).cluster_locs() to spatially cluster locations (well clusters) (#39)get_locs():
filterdepth (argument filterdepth_na)filterdepth values in a conservative way, based on tubelength (argument filterdepth_guess, #44)filterdepth (#44)obswell_aggr, #44)as_points() and get_locs() return a warning when duplicated coordinates occur in their local result (#51, thanks @w-jan)connect_watina() which should not affect its behaviour and which reduces overall package dependencies.Further, a number of smaller fixes and enhancements were made.
get_locs(): calculation of soilsurf_ost (#43)get_locs(): calculation of soilsurf_ost (#42)convertdf_enc() (#34)roxygen2 version 7.0.2, resulting in a better layout of function arguments in the 'usage' section.get_locs() regarding the default implementation of the loc_validity argument.