The R-package watina
contains functions to query
and process data from the Watina database at the Research Institute for
Nature and Forest (INBO).
This database is focused on groundwater data in
natural areas in Flanders (Belgium) and provides:
- groundwater level and chemical data;
- data from hydrostatic pressure sensors (mainly groundwater);
- data from atmospheric pressure sensors;
- a more limited number of surface water level and chemical data.
Currently the R package won't work outside INBO.
To install the current package version from the main
branch (latest stable release), run:
install.packages("watina", repos = c(inbo = "https://inbo.r-universe.dev",
CRAN = "https://cloud.r-project.org"))
The above provides a pre-compiled package for Windows and macOS, which should be faster than below approaches.
INBO staff should have the INBO repository enabled already (check with getOption("repos")
), in which case install.packages("watina")
is all you need!
Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS = "true") # as a precaution
remotes::install_github("inbo/watina", upgrade = TRUE)
You can consult the vignettes of the latest release on the (this) pkgdown
website: click on 'Articles' at the top.
Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS = "true") # as a precaution
if (!("nycflights13" %in% installed.packages())) {
install.packages("nycflights13")} # to prevent dbplyr from interrupting next step
remotes::install_github("inbo/watina",
build_vignettes = TRUE,
upgrade = TRUE)
Note that this will install the package from the main
branch.
If you need a version from another branch, add the ref
argument in the above function to provide the branch name.
Please have a look at our contributing guide!