diff --git a/DESCRIPTION b/DESCRIPTION index 69ad5267..c2f43b77 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -54,6 +54,7 @@ Suggests: jsonlite, knitr, mapview, + n2khabmon, openssl, raster (>= 3.6-3), readxl, @@ -65,5 +66,7 @@ Suggests: units, utils, withr +Remotes: + inbo/n2khabmon VignetteBuilder: knitr Config/testthat/edition: 3 diff --git a/NAMESPACE b/NAMESPACE index f6c5c19c..245aa959 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -105,9 +105,7 @@ importFrom(stringr,str_split) importFrom(stringr,str_squish) importFrom(stringr,str_sub) importFrom(stringr,str_to_title) -importFrom(tidyr,gather) importFrom(tidyr,nest) -importFrom(tidyr,spread) importFrom(tidyr,tribble) importFrom(tidyr,unnest) importFrom(utils,packageDescription) diff --git a/R/datawrangling.R b/R/datawrangling.R index 7feb6222..e5d7f1b4 100644 --- a/R/datawrangling.R +++ b/R/datawrangling.R @@ -65,7 +65,6 @@ #' A data frame, either identical or longer than the input data frame. #' #' @seealso -#' \code{\link{read_scheme_types}}, #' \code{\link{read_types}}, #' \code{\link{read_habitatmap_terr}}, #' \code{\link{read_watersurfaces_hab}} @@ -73,13 +72,13 @@ #' @examples #' library(dplyr) #' x <- -#' read_scheme_types() %>% +#' n2khabmon::read_scheme_types() %>% #' filter(scheme == "GW_05.1_terr") #' expand_types(x) #' expand_types(x, strict = FALSE) #' #' x <- -#' read_scheme_types() %>% +#' n2khabmon::read_scheme_types() %>% #' filter(scheme == "GW_05.1_terr") %>% #' group_by(typegroup) #' expand_types(x) diff --git a/R/n2khab-deprecated.R b/R/n2khab-deprecated.R new file mode 100644 index 00000000..d6e47b76 --- /dev/null +++ b/R/n2khab-deprecated.R @@ -0,0 +1,32 @@ +#' Deprecated functions +#' +#' - [`read_schemes()`] has moved to package `n2khabmon`. +#' Use [`n2khabmon::read_schemes()`] instead. +#' - [`read_scheme_types()`] has moved to package `n2khabmon`. +#' Use [`n2khabmon::read_scheme_types()`] instead. +#' +#' @param ... arguments passed to the new function +#' +#' @md +#' +#' @name n2khab-deprecated + +#' @rdname n2khab-deprecated +#' @export +#' @keywords internal +read_schemes <- function(...) { + .Deprecated("n2khabmon::read_schemes") + require_pkgs("n2khabmon") + n2khabmon::read_schemes(...) +} + + + +#' @rdname n2khab-deprecated +#' @export +#' @keywords internal +read_scheme_types <- function(...) { + .Deprecated("n2khabmon::read_scheme_types") + require_pkgs("n2khabmon") + n2khabmon::read_scheme_types(...) +} diff --git a/R/read_textdata.R b/R/read_textdata.R index d7eafa46..d1704ea1 100644 --- a/R/read_textdata.R +++ b/R/read_textdata.R @@ -627,456 +627,3 @@ read_env_pressures <- ) %>% as_tibble() } - - - - - - - - - - - - - - -#' Return the 'schemes' data source as a tibble with names & shortnames -#' -#' Returns the included data source \code{\link{schemes}} as a -#' \code{\link[tibble:tbl_df-class]{tibble}}. -#' Names and shortnames from \code{\link{namelist}} are added, -#' in English by default. -#' -#' \code{\link{schemes}} is a data source in the -#' \href{https://ropensci.github.io/git2rdata}{vc-format} which provides -#' a list of (monitoring) schemes for N2KHAB monitoring programmes or -#' other N2KHAB projects, together -#' with defining attributes and optional information. -#' A 'scheme' refers to a monitoring or research setup that determines -#' which types (habitat/RIBs) are to be investigated for a question or for -#' a bunch of related questions. -#' -#' \code{read_schemes()} reads the \code{\link{schemes}} data source, adds -#' names + shortnames and returns it as a -#' \code{\link[tibble:tbl_df-class]{tibble}}. -#' A tibble is a data frame that makes working in the tidyverse a little -#' \href{https://r4ds.had.co.nz/tibbles.html}{easier}. -#' By default, the data version delivered with the package is used and English -#' names (\code{lang = "en"}) are returned for scheme, programme, attributes -#' and tags. -#' -#' @param path Location of the data sources \code{schemes} and \code{namelist}. -#' The default is to use the location of the data sources as delivered by -#' the installed package. -#' @param file The filename of the \code{schemes} data source, without extension. -#' The default is to use the file delivered by the installed package. -#' -#' @inheritParams read_types -#' @inheritParams read_env_pressures -#' -#' @return -#' The \code{schemes} data frame as a \code{\link[tibble:tbl_df-class]{tibble}}, -#' with names & shortnames added for scheme, programme, attributes and tags -#' according to the \code{lang} argument. -#' The tibble has 25 variables. -#' See \code{\link{schemes}} for documentation of the data-source's contents. -#' See \code{\link{namelist}} for the link between codes or other identifiers -#' and the corresponding names (and shortnames). -#' -#' The added names and shortnames are represented by the following variables: -#' \itemize{ -#' \item \code{scheme_name} -#' \item \code{scheme_shortname} -#' \item \code{programme_name} -#' \item \code{attribute_1_name} -#' \item \code{attribute_1_shortname} -#' \item \code{attribute_2_name} -#' \item \code{attribute_2_shortname} -#' \item \code{attribute_3_name} -#' \item \code{attribute_3_shortname} -#' \item \code{tag_1_name} -#' \item \code{tag_1_shortname} -#' \item \code{tag_2_name} -#' \item \code{tag_2_shortname} -#' \item \code{tag_3_name} -#' \item \code{tag_3_shortname} -#' } -#' -#' The added names and shortnames for scheme, programme and attributes are -#' \emph{factors} with their level order according to that of the -#' scheme, programme or attribute variable. -#' -#' @section Recommended usage: -#' -#' \code{read_schemes()} -#' -#' \code{read_schemes(lang = "nl")} -#' -#' @seealso -#' \code{\link{schemes}} -#' -#' @family reading functions for n2khab-referencelists -#' -#' @examples -#' read_schemes() -#' read_schemes(lang = "nl") -#' -#' @export -#' @importFrom git2rdata read_vc -#' @importFrom assertthat -#' assert_that -#' is.string -#' @importFrom dplyr -#' %>% -#' filter -#' select -#' distinct -#' mutate -#' left_join -#' as_tibble -#' contains -#' pull -#' @importFrom rlang .data -read_schemes <- - function(path = pkgdatasource_path("textdata/schemes", ".yml"), - file = "schemes", - file_namelist = "namelist", - lang = "en") { - assert_that(is.string(lang)) - - langs <- - read_namelist( - path = path, - file = file_namelist, - lang = "all" - ) %>% - distinct(.data$lang) %>% - pull(lang) - - assert_that(any(lang %in% langs), - msg = "Your setting of lang is not supported." - ) - - namelist <- - read_namelist( - path = path, - file = file_namelist, - lang = lang - ) %>% - select( - .data$code, - .data$name, - .data$shortname - ) - - suppressWarnings( - read_vc(file = file, root = path) %>% - mutate( - scheme_name = namelist_factor(.data$scheme, - codelist = namelist - ), - scheme_shortname = namelist_factor(.data$scheme, - "shortname", - codelist = namelist - ), - programme_name = namelist_factor(.data$programme, - codelist = namelist - ), - attribute_1_name = namelist_factor(.data$attribute_1, - codelist = namelist - ), - attribute_1_shortname = namelist_factor(.data$attribute_1, - "shortname", - codelist = namelist - ), - attribute_2_name = namelist_factor(.data$attribute_2, - codelist = namelist - ), - attribute_2_shortname = namelist_factor(.data$attribute_2, - "shortname", - codelist = namelist - ), - attribute_3_name = namelist_factor(.data$attribute_3, - codelist = namelist - ), - attribute_3_shortname = namelist_factor(.data$attribute_3, - "shortname", - codelist = namelist - ) - ) %>% - left_join(namelist, - by = c("tag_1" = "code") - ) %>% - rename( - tag_1_name = .data$name, - tag_1_shortname = .data$shortname - ) %>% - left_join(namelist, - by = c("tag_2" = "code") - ) %>% - rename( - tag_2_name = .data$name, - tag_2_shortname = .data$shortname - ) %>% - left_join(namelist, - by = c("tag_3" = "code") - ) %>% - rename( - tag_3_name = .data$name, - tag_3_shortname = .data$shortname - ) %>% - select( - contains("scheme"), - contains("programme"), - contains("attribute"), - .data$spatial_restriction, - .data$notes, - contains("tag") - ) %>% - as_tibble() - ) - } - - - - - - - - - - - - - - - - - - - - -#' Return the 'scheme_types' data source as a tibble -#' -#' Returns the included data source \code{\link{scheme_types}} as a -#' \code{\link[tibble:tbl_df-class]{tibble}}. -#' Names and shortnames from \code{\link{namelist}} are optionally added, -#' in English by default. -#' -#' \code{\link{scheme_types}} is a data source in the -#' \href{https://ropensci.github.io/git2rdata}{vc-format} which lists -#' the types (using the type-code from \code{\link{types}}) that belong to -#' each N2KHAB (monitoring or research) scheme (using the scheme-code from -#' \code{\link{schemes}}). -#' It also defines typegroup memberships of the types within specific schemes, -#' if applicable. -#' -#' \code{read_scheme_types()} reads the \code{\link{scheme_types}} data -#' source, optionally adds names + shortnames (always done for the typegroup) -#' and returns it as a -#' \code{\link[tibble:tbl_df-class]{tibble}}. -#' A tibble is a data frame that makes working in the tidyverse a little -#' \href{https://r4ds.had.co.nz/tibbles.html}{easier}. -#' By default, the data version delivered with the package is used and English -#' names (\code{lang = "en"}) are returned. -#' -#' @param path Location of the data sources \code{scheme_types}, -#' \code{schemes}, \code{types} and \code{namelist}. -#' The default is to use the location of the data sources as delivered by -#' the installed package. -#' @param file The filename of the \code{scheme_types} data source, without extension. -#' The default is to use the file delivered by the installed package. -#' -#' @inheritParams read_types -#' @inheritParams read_env_pressures -#' -#' @param extended Should names & shortnames be added for scheme, programme, -#' scheme attributes, type, typeclass and tags of scheme and type? -#' -#' @return -#' The \code{scheme_types} data frame as a \code{\link[tibble:tbl_df-class]{tibble}}, -#' with names & shortnames added for the typegroup variable and optionally for -#' scheme, programme, -#' scheme attributes, type and attributes & tags of scheme and type, all -#' according to the \code{lang} argument. -#' The tibble has either 5 or many variables, depending on the \code{extended} -#' argument. -#' See \code{\link{scheme_types}} for documentation of the data-source's contents. -#' See \code{\link{namelist}} for the link between codes or other identifiers -#' and the corresponding names (and shortnames). -#' -#' The \emph{optionally} added names and shortnames are represented by the -#' following variables: -#' \itemize{ -#' \item \code{scheme_name} -#' \item \code{scheme_shortname} -#' \item \code{programme_name} -#' \item \code{attribute_1_name} -#' \item \code{attribute_1_shortname} -#' \item \code{attribute_2_name} -#' \item \code{attribute_2_shortname} -#' \item \code{attribute_3_name} -#' \item \code{attribute_3_shortname} -#' \item \code{schemetag_1_name} -#' \item \code{schemetag_1_shortname} -#' \item \code{schemetag_2_name} -#' \item \code{schemetag_2_shortname} -#' \item \code{schemetag_3_name} -#' \item \code{schemetag_3_shortname} -#' \item \code{type_name} -#' \item \code{type_shortname} -#' \item \code{typeclass_name} -#' \item \code{hydr_class_name} -#' \item \code{hydr_class_shortname} -#' \item \code{groundw_dep_name} -#' \item \code{groundw_dep_shortname} -#' \item \code{flood_dep_name} -#' \item \code{flood_dep_shortname} -#' \item \code{typetag_1_name} -#' \item \code{typetag_1_shortname} -#' \item \code{typetag_2_name} -#' \item \code{typetag_2_shortname} -#' \item \code{typetag_3_name} -#' \item \code{typetag_3_shortname} -#' } -#' -#' The added names and shortnames for scheme, programme, -#' attributes and typegroup are \emph{factors} with their level order according -#' to that of the scheme, programme, attribute or typegroup variable. -#' -#' @section Recommended usage: -#' -#' \code{read_scheme_types()} -#' -#' \code{read_scheme_types(lang = "nl")} -#' -#' @seealso -#' \code{\link{scheme_types}} -#' -#' @family reading functions for n2khab-referencelists -#' -#' @examples -#' read_scheme_types() -#' read_scheme_types(lang = "nl") -#' -#' @export -#' @importFrom git2rdata read_vc -#' @importFrom assertthat -#' assert_that -#' is.string -#' @importFrom dplyr -#' %>% -#' select -#' mutate -#' left_join -#' as_tibble -#' contains -#' pull -#' distinct -#' @importFrom tidyr gather spread -#' @importFrom stringr str_c -#' @importFrom rlang .data -read_scheme_types <- function(path = pkgdatasource_path("textdata/scheme_types", ".yml"), - file = "scheme_types", - file_namelist = "namelist", - lang = "en", - extended = FALSE) { - assert_that(is.string(lang)) - - langs <- - read_namelist( - path = path, - file = file_namelist, - lang = "all" - ) %>% - distinct(.data$lang) %>% - pull(lang) - - assert_that(any(lang %in% langs), - msg = "Your setting of lang is not supported." - ) - - namelist <- - read_namelist( - path = path, - file = file_namelist, - lang = lang - ) %>% - select( - .data$code, - .data$name, - .data$shortname - ) - - scheme_types <- read_vc(file = file, root = path) - - if (extended) { - schemes <- - read_schemes( - path = path, - file = "schemes", - file_namelist = file_namelist, - lang = lang - ) %>% - gather( - key = "key", - value = "value", - contains("tag") - ) %>% - mutate(key = str_c("scheme", .data$key)) %>% - spread(key = .data$key, value = .data$value) - - types <- - read_types( - path = path, - file = "types", - file_namelist = file_namelist, - lang = lang - ) %>% - gather( - key = "key", - value = "value", - contains("tag") - ) %>% - mutate(key = str_c("type", .data$key)) %>% - spread(key = .data$key, value = .data$value) - - scheme_types %>% - mutate( - typegroup_name = namelist_factor(.data$typegroup, - codelist = namelist - ), - typegroup_shortname = namelist_factor(.data$typegroup, - "shortname", - codelist = namelist - ) - ) %>% - left_join(schemes, - by = "scheme" - ) %>% - left_join(types, - by = "type" - ) %>% - mutate(type = .data$type %>% - factor( - levels = - read_vc(file = file, root = path) %>% - pull(.data$type) %>% - levels() - )) %>% - as_tibble() - } else { - scheme_types %>% - mutate( - typegroup_name = namelist_factor(.data$typegroup, - codelist = namelist - ), - typegroup_shortname = namelist_factor(.data$typegroup, - "shortname", - codelist = namelist - ) - ) %>% - as_tibble() - } -} diff --git a/R/textdata.R b/R/textdata.R index 88540918..8a14d40c 100644 --- a/R/textdata.R +++ b/R/textdata.R @@ -198,236 +198,3 @@ NULL #' #' @name env_pressures NULL - - - - - - - - - -#' Documentation of included data source 'schemes' -#' -#' 'schemes' is a data source in the -#' \href{https://ropensci.github.io/git2rdata}{vc-format} which provides -#' a list of (monitoring) schemes for N2KHAB monitoring programmes or -#' other N2KHAB projects, together -#' with defining attributes and optional information. -#' The codes of schemes, programmes, attributes and tags -#' are explained in the -#' data source \code{\link{namelist}} (which can accommodate multiple -#' languages). -#' -#' -#' @format A vc-formatted data source. As such, it corresponds to -#' a data frame with 10 variables: -#' \describe{ -#' \item{scheme}{Code of the scheme, as a factor. -#' This is the ID for use in diverse workflows and datasets. -#' Corresponding names and shortnames -#' in multiple languages are to be found in \code{\link{namelist}}. -#' Contains no duplicates! -#' -#' A 'scheme' refers to a monitoring or research setup that determines -#' which types (habitat/RIBs) are to be investigated for a question or for -#' a bunch of related questions. -#' } -#' \item{programme}{Code of the programme to which the scheme belongs. -#' The programme's code is explained by \code{\link{namelist}}. -#' Is a factor. -#' -#' A 'programme' refers to a N2KHAB monitoring programme or research project. -#' One programme can correspond to multiple schemes. -#' At least the monitoring programmes MHQ and MNE are present. -#' } -#' \item{attribute_1}{The first defining attribute of the scheme. -#' Typically, the code is explained by \code{\link{namelist}}. -#' Is a factor. -#' \itemize{ -#' \item{In MNE, this is used to declare the 'compartment superscheme' (scheme -#' collection) to which the scheme belongs, and which is named after the -#' environmental compartment (however note that the surfacewater superscheme -#' comprises two environmental compartments).} -#' \item{In MHQ, this is used to define the target habitat type of the -#' monitoring scheme.} -#' } -#' } -#' \item{attribute_2}{A second defining attribute of the scheme (if needed). -#' Typically, the code is explained by \code{\link{namelist}}. -#' Is a factor. -#' \itemize{ -#' \item{In MNE, this provides the code of the environmental pressure to -#' which the scheme is related. -#' It must be represented in \code{\link{env_pressures}}.} -#' } -#' } -#' \item{attribute_3}{A third defining attribute of the scheme (if needed). -#' Typically, the code is explained by \code{\link{namelist}}. -#' Is a factor. -#' \itemize{ -#' \item{In MNE, this is used to declare an \strong{optional} partitioning of the -#' scheme that would be constituted by attributes 1 and 2 alone -#' (environmental compartment and pressure), which will hence divide the -#' concerned types in at least two groups. -#' This typically has to do with differences in the considered -#' environmental variables or compatibility of interpretation. -#' -#' It is \emph{not} meant to distinguish between different types or -#' typegroups for inferences, so types are kept in the same scheme as -#' long as the measured values have compatibility of interpretation. -#' To declare which types or typegroups should be -#' distinguished in inferences, use the \code{typegroup} variable in the -#' \code{\link{scheme_types}} data source!} -#' } -#' } -#' \item{spatial_restriction}{Optional further defining specification of a -#' scheme (in English): -#' spatial restrictions, superposed on the restrictions already -#' generated by the attributes.} -#' \item{notes}{Optional. In English. For additional notes on the scheme -#' definition, if necessary.} -#' \item{tag_1}{Optional tag, e.g. a categorization ID explained -#' by \code{\link{namelist}}. -#' \itemize{ -#' \item{In MNE, this is used to tag which schemes are focal schemes and -#' which ones are secondary schemes.} -#' \item{In MHQ, this is used to separate aquatic and terrestial -#' monitoring schemes.} -#' } -#' } -#' \item{tag_2}{Optional tag, e.g. a categorization ID explained -#' by \code{\link{namelist}}.} -#' \item{tag_3}{Optional tag, e.g. a categorization ID explained -#' by \code{\link{namelist}}.} -#' } -#' -#' @section Typical way of loading: -#' -#' \code{read_schemes()} -#' -#' \code{read_schemes(lang = "nl")} -#' -#' @section Corresponding datafiles in the installed package: -#' -#' \code{textdata/schemes.tsv} -#' -#' \code{textdata/schemes.yml} -#' -#' @source -#' -#' \itemize{ -#' \item{For the MNE-schemes: a vc-formatted, Dutch-language data source -#' which can be found in the -#' \href{https://github.com/inbo/n2khab}{ -#' n2khab Github repository}: -#' \code{misc/generate_textdata/rawraw_data/10_compmeetnet_types_milieudrukken}. -#' This data source was originally generated in the -#' n2khab-mne-selections repository -#' (\samp{https://gitlab.com/florisvdh/n2khab-mne-selections}). -#' } -#' } -#' \itemize{ -#' \item{More information on the MHQ-schemes can be found in -#' \href{https://pureportal.inbo.be/portal/files/4339795/Westra_etal_2014_MonitoringNatura2000Habitats.pdf}{Westra \emph{et al.} (2014)}. -#' } -#' } -#' -#' @seealso \code{\link{read_schemes}} -#' -#' @family n2khab-referencelists -#' -#' @name schemes -NULL - - - - - - - - - -#' Documentation of included data source 'scheme_types' -#' -#' 'scheme_types' is a data source in the -#' \href{https://ropensci.github.io/git2rdata}{vc-format} which lists -#' the types (using the type-code from \code{\link{types}}) that belong to -#' each N2KHAB (monitoring or research) scheme (using the scheme-code from -#' \code{\link{schemes}}). -#' It also defines typegroup memberships of the types within specific schemes, -#' if applicable. -#' The codes of schemes and types (and optionally: typegroups) -#' are explained in the -#' data source \code{\link{namelist}} (which can accommodate multiple -#' languages). -#' -#' -#' @format A vc-formatted data source. As such, it corresponds to -#' a data frame with 3 variables: -#' \describe{ -#' \item{scheme}{Code of the scheme, as a factor, and explained by -#' \code{\link{namelist}}. -#' It must be represented in \code{\link{schemes}}. -#' } -#' \item{type}{Code of the type, as a factor, and explained by -#' \code{\link{namelist}}. -#' It must be represented in \code{\link{types}}.} -#' \item{typegroup}{An \emph{optional} code (and optionally explained by -#' \code{\link{namelist}}), -#' declaring the typegroup to which a type belongs \emph{within the specified -#' scheme}. -#' Typegroups point out which types are considered together as a group in -#' inferences for the scheme at hand.} -#' } -#' -#' Each combination of \code{scheme} and \code{type} must be unique. -#' -#' @section Typical way of loading: -#' -#' \code{read_scheme_types()} -#' -#' \code{read_scheme_types(lang = "nl")} -#' -#' @section Corresponding datafiles in the installed package: -#' -#' \code{textdata/scheme_types.tsv} -#' -#' \code{textdata/scheme_types.yml} -#' -#' @source -#' -#' \itemize{ -#' \item{For the MNE-schemes: -#' \itemize{ -#' \item{the link between schemes and types comes from -#' a vc-formatted, Dutch-language data source -#' which can be found in the -#' \href{https://github.com/inbo/n2khab}{ -#' n2khab Github repository}: -#' \code{misc/generate_textdata/rawraw_data/10_compmeetnet_types_milieudrukken}. -#' This data source was originally generated in the -#' n2khab-mne-selections repository -#' (\samp{https://gitlab.com/florisvdh/n2khab-mne-selections}).} -#' \item{the declaration of typegroups comes from -#' \href{https://docs.google.com/spreadsheets/d/1n2ohvuLEK_anX37gxlanQXRGotweMVonFxKxtfTcuZI}{ -#' this googlesheet}. -#' Currently, the typegroups are kept up to date both in the -#' googlesheet and in the data source.} -#' } -#' } -#' } -#' -#' \itemize{ -#' \item{For the MHQ-schemes, the list of sampled types is based on the report of -#' \href{https://pureportal.inbo.be/portal/files/4339795/Westra_etal_2014_MonitoringNatura2000Habitats.pdf}{Westra \emph{et al.} (2014)}. -#' } -#' } -#' -#' -#' @seealso \code{\link{read_scheme_types}} -#' -#' @family n2khab-referencelists -#' -#' @name scheme_types -NULL diff --git a/inst/textdata/namelist.tsv b/inst/textdata/namelist.tsv index e3791cba..11356032 100644 --- a/inst/textdata/namelist.tsv +++ b/inst/textdata/namelist.tsv @@ -90,25 +90,6 @@ code lang name shortname 91E0_vn en Eutrophic alder carrs (Filipendulo-Alnetum, Macrophorbio-Alnetum, Cirsio-Alnetum) Eutrophic alder carrs 91E0_vo en Oligotrophic (alder-)birch carrs (Carici laevigatae-Alnetum) Oligotrophic (alder-)birch carrs 91F0 en Riparian mixed forests of Quercus robur, Ulmus laevis and Ulmus minor, Fraxinus excelsior or Fraxinus angustifolia, along the great rivers (Ulmenion minoris) Dry riparian hardwood forests -aq en aquatic NA -ATM en Atmospheric monitoring NA -ATM_03.1 en Atmospheric monitoring: environmental pressure 03.1_eutr_air ATM: 03.1_eutr_air -ATM_03.1_group1 en very sensitive non-forest types very sensitive non-forest -ATM_03.1_group2 en sensitive non-forest types sensitive non-forest -ATM_03.1_group3 en less to not sensitive non-forest types less/not sensitive non-forest -ATM_03.1_group4 en very sensitive forest types very sensitive forest -ATM_03.1_group5 en sensitive forest types sensitive forest -ATM_03.1_group6 en less to not sensitive forest types less/not sensitive forest -ATM_04.1 en Atmospheric monitoring: environmental pressure 04.1_acidif_air ATM: 04.1_acidif_air -ATM_04.1_group1 en very sensitive non-forest types very sensitive non-forest -ATM_04.1_group2 en sensitive non-forest types sensitive non-forest -ATM_04.1_group3 en less to not sensitive non-forest types less/not sensitive non-forest -ATM_04.1_group4 en very sensitive forest types very sensitive forest -ATM_04.1_group5 en sensitive forest types sensitive forest -ATM_04.1_group6 en less to not sensitive forest types less/not sensitive forest -ATM_08.1 en Atmospheric monitoring: environmental pressure 08.1_poll_air ATM: 08.1_poll_air -ATM_101 en Atmospheric monitoring: environmental pressure 101_clim_dry ATM: 101_clim_dry -ATM_102 en Atmospheric monitoring: environmental pressure 102_clim_wet ATM: 102_clim_wet BMF en Bogs, mires and fens NA CD en Coastal sand dunes NA CH en Coastal and halophytic habitats NA @@ -170,87 +151,19 @@ ep_class_10 en 10 Climate change NA FD0 en flood independent flood independent FD1 en flood dependent on a part of the locations locally flood dependent FD2 en flood dependent on (almost) all locations (almost) everywhere flood dependent -focal en Focal scheme NA FS en Forest and scrub NA FW en Fresh and brackish water NA GD0 en groundwater independent groundwater independent GD1 en groundwater dependent on a part of the locations locally groundwater dependent GD2 en groundwater dependent on (almost) all locations (almost) everywhere groundwater dependent GR en Natural and semi-natural grassland NA -GW en Groundwater monitoring NA -GW_03.3 en Groundwater monitoring: environmental pressure 03.3_eutr_gw GW: 03.3_eutr_gw -GW_03.3_group1 en types from oligotrophic environments oligotrophic -GW_03.3_group2 en types from mesotrophic environments mesotrophic -GW_03.3_group3 en types from weakly eutrophic environments weakly eutrophic -GW_03.3_group4 en types from moderately eutrophic to eutrophic environments (moderately) eutrophic -GW_04.2 en Groundwater monitoring: environmental pressure 04.2_acidif_gw GW: 04.2_acidif_gw -GW_05.1_aq en Groundwater monitoring: environmental pressure 05.1_des_gw: partim aquatic GW: 05.1_des_gw: aq -GW_05.1_aq_group1 en types from spring-fed brooks spring-fed brooks -GW_05.1_aq_group2 en types from lakes with stable groundwater table stable lakes -GW_05.1_aq_group3 en types from lowland rivers lowland rivers -GW_05.1_aq_group4 en types from dune lakes (moderate groundwater dynamics) dune lakes -GW_05.1_aq_group5 en types from softwater lakes with dynamic groundwater table dynamic softwater lakes -GW_05.1_quarries en Groundwater monitoring: environmental pressure 05.1_des_gw: partim marl quarries GW: 05.1_des_gw: quarries -GW_05.1_terr en Groundwater monitoring: environmental pressure 05.1_des_gw: partim terrestrial GW: 05.1_des_gw: terr -GW_05.1_terr_group1 en types from very wet environments very wet -GW_05.1_terr_group2 en types from wet environments wet -GW_05.1_terr_group3 en types from moderately wet environments moderately wet -GW_05.1_terr_group4 en types from moist environments moist -GW_05.1_terr_group5 en types from locally moist environments locally moist -GW_05.2 en Groundwater monitoring: environmental pressure 05.2_wet_gw GW: 05.2_wet_gw -GW_07.1 en Groundwater monitoring: environmental pressure 07.1_desal_gw GW: 07.1_desal_gw -GW_08.3 en Groundwater monitoring: environmental pressure 08.3_poll_gw GW: 08.3_poll_gw HC1 en Dry to moist Dry HC12 en Dry to moist + Temporarily to permanently wet Dry + Wet HC2 en Temporarily to permanently wet Wet HC23 en Temporarily to permanently wet + Surface water Wet + Surface water HC3 en Surface water Surface water -HQ1330 en Habitat quality scheme: Atlantic salt meadows Habitat quality scheme 1330 -HQ2120 en Habitat quality scheme: White dunes Habitat quality scheme 2120 -HQ2130 en Habitat quality scheme: Grey dunes Habitat quality scheme 2130 -HQ2160 en Habitat quality scheme: Hippophaë rhamnoides dunes Habitat quality scheme 2160 -HQ2170 en Habitat quality scheme: Salix repens dunes Habitat quality scheme 2170 -HQ2180 en Habitat quality scheme: Wooded dunes Habitat quality scheme 2180 -HQ2190_aq en Habitat quality scheme: Dune slack ponds Habitat quality scheme 2190_a -HQ2190_terr en Habitat quality scheme: Humid dune slacks (terrestrial) Habitat quality scheme 2190 (terr) -HQ2310 en Habitat quality scheme: Psammophylic heath Habitat quality scheme 2310 -HQ2330 en Habitat quality scheme: Inland shifting dunes Habitat quality scheme 2330 -HQ3110 en Habitat quality scheme: Barely buffered standing waters Habitat quality scheme 3110 -HQ3130 en Habitat quality scheme: Poorly buffered standing waters Habitat quality scheme 3130 -HQ3140 en Habitat quality scheme: Standing waters with Chara Habitat quality scheme 3140 -HQ3150 en Habitat quality scheme: Lakes with Stratiotes and Potamogeton Habitat quality scheme 3150 -HQ3160 en Habitat quality scheme: Dystrophic standing waters Habitat quality scheme 3160 -HQ3270 en Habitat quality scheme: Rivers with muddy banks Habitat quality scheme 3270 -HQ4010 en Habitat quality scheme: Wet heaths Habitat quality scheme 4010 -HQ4030 en Habitat quality scheme: Dry heaths Habitat quality scheme 4030 -HQ6120 en Habitat quality scheme: Pioneer calcareous sand swards Habitat quality scheme 6120 -HQ6230 en Habitat quality scheme: Nardus grasslands Habitat quality scheme 6230 -HQ6410 en Habitat quality scheme: Molinion grasslands Habitat quality scheme 6410 -HQ6510 en Habitat quality scheme: Arrhenatherion and Alopecurion grasslands Habitat quality scheme 6510 -HQ7140 en Habitat quality scheme: Transition mires and quaking bogs Habitat quality scheme 7140 -HQ9120 en Habitat quality scheme: Beech-oak forests with Ilex Habitat quality scheme 9120 -HQ9130 en Habitat quality scheme: Neutrophilic beech forest Habitat quality scheme 9130 -HQ9160 en Habitat quality scheme: Oak-hornbeam forests Habitat quality scheme 9160 -HQ9190 en Habitat quality scheme: Old oak forests Habitat quality scheme 9190 -HQ91E0 en Habitat quality scheme: Alluvial forests Habitat quality scheme 91E0 HS en Temperate heath and scrub NA ID en Inland dunes NA -INUN en Inundationwater monitoring NA -INUN_03.4 en Inundationwater monitoring: environmental pressure 03.4_eutr_sw INUN: 03.4_eutr_sw -INUN_061 en Inundationwater monitoring: environmental pressure 061_flood_incr INUN: 061_flood_incr -INUN_062 en Inundationwater monitoring: environmental pressure 062_flood_decr INUN: 062_flood_decr -INUN_063 en Inundationwater monitoring: environmental pressure 063_swlevel_incr INUN: 063_swlevel_incr -INUN_064 en Inundationwater monitoring: environmental pressure 064_swlevel_decr INUN: 064_swlevel_decr -INUN_065 en Inundationwater monitoring: environmental pressure 065_wave_incr INUN: 065_wave_incr -INUN_066 en Inundationwater monitoring: environmental pressure 066_wave_decr INUN: 066_wave_decr -INUN_07.2 en Inundationwater monitoring: environmental pressure 07.2_desal_sw INUN: 07.2_desal_sw -INUN_08.4 en Inundationwater monitoring: environmental pressure 08.4_poll_sw INUN: 08.4_poll_sw -INUN_103 en Inundationwater monitoring: environmental pressure 103_clim_sea INUN: 103_clim_sea -lentic en lentic waters NA -lotic en lotic waters NA -MHQ en Monitoring programme for biotic Habitat Quality NA -MNE en Monitoring programme for the Natural Environment NA -quarries en marl quarries NA rbbah en Brackish to saltish standing waters Brackish to salty standing waters rbbha en Species-rich Agrostis grasslands (no 6230 habitat type) Species-rich Agrostis grasslands (not 6230) rbbhc en Calthion grasslands Calthion grasslands @@ -273,29 +186,8 @@ rbbzil en Potentilla anserina grasslands Potentilla anserina grasslands rbbzil+ en Species-rich Potentilla anserina grasslands Species-rich Potentilla anserina grasslands RC en Rocky habitats and caves NA RW en Running water NA -secondary en Secondary scheme NA -SOIL en Soil monitoring NA -SOIL_012 en Soil monitoring: environmental pressure 012_soildyn_incr SOIL: 012_soildyn_incr -SOIL_013 en Soil monitoring: environmental pressure 013_soildyn_decr SOIL: 013_soildyn_decr -SOIL_03.2 en Soil monitoring: environmental pressure 03.2_eutr_soil SOIL: 03.2_eutr_soil -SOIL_08.2 en Soil monitoring: environmental pressure 08.2_poll_soil SOIL: 08.2_poll_soil SS en Sclerophyllous scrub NA -SURF en Surfacewater monitoring NA -SURF_012 en Surfacewater monitoring: environmental pressure 012_soildyn_incr SURF: 012_soildyn_incr -SURF_03.2 en Surfacewater monitoring: environmental pressure 03.2_eutr_soil SURF: 03.2_eutr_soil -SURF_03.4_lentic en Surfacewater monitoring: environmental pressure 03.4_eutr_sw: partim lentic waters SURF: 03.4_eutr_sw: lentic -SURF_03.4_lentic_group1 en types from oligotrophic environments oligotrophic -SURF_03.4_lentic_group2 en types from mesotrophic environments mesotrophic -SURF_03.4_lentic_group3 en types from weakly eutrophic environments weakly eutrophic -SURF_03.4_lentic_group4 en types from moderately eutrophic to eutrophic environments (moderately) eutrophic -SURF_03.4_lotic en Surfacewater monitoring: environmental pressure 03.4_eutr_sw: partim lotic waters SURF: 03.4_eutr_sw: lotic -SURF_064 en Surfacewater monitoring: environmental pressure 064_swlevel_decr SURF: 064_swlevel_decr -SURF_066 en Surfacewater monitoring: environmental pressure 066_wave_decr SURF: 066_wave_decr -SURF_07.2 en Surfacewater monitoring: environmental pressure 07.2_desal_sw SURF: 07.2_desal_sw -SURF_08.2 en Surfacewater monitoring: environmental pressure 08.2_poll_soil SURF: 08.2_poll_soil -SURF_08.4 en Surfacewater monitoring: environmental pressure 08.4_poll_sw SURF: 08.4_poll_sw SW en Standing water NA -terr en terrestrial NA 1130 nl Estuaria estuaria 1140 nl Bij eb droogvallende slikwadden en zandplaten bij eb droogvallend zand en slik 1310 nl Eenjarige pioniervegetaties van slik- en zandgebieden met Salicornia spp. en andere zoutminnende soorten zilte pionierbegroeiingen @@ -387,25 +279,6 @@ terr en terrestrial NA 91E0_vn nl Ruigt-elzenbos (Filipendulo-Alnetum, Macrophorbio-Alnetum, Cirsio-Alnetum) ruigt-elzenbos 91E0_vo nl Oligotroof broekbos, inclusief elzen-berkenbroekbos en berkenbroekbos (Carici laevigatae-Alnetum) oligotroof broekbos 91F0 nl Gemengde oeverformaties met Quercus robur, Ulmus laevis en Ulmus minor, Fraxinus excelsior of Fraxinus angustifolia, langs de grote rivieren (Ulmenion minoris) hardhoutooibossen -aq nl aquatisch NA -ATM nl Atmosferisch meetnet NA -ATM_03.1 nl Atmosferisch meetnet: milieudruk 03.1_eutr_atm ATM: 03.1_eutr_atm -ATM_03.1_group1 nl zeer gevoelige niet-bostypes zeer gevoelig niet-bos -ATM_03.1_group2 nl gevoelige niet-bostypes gevoelig niet-bos -ATM_03.1_group3 nl minder tot niet gevoelige niet-bostypes minder/niet gevoelig niet-bos -ATM_03.1_group4 nl zeer gevoelige bostypes zeer gevoelig bos -ATM_03.1_group5 nl gevoelige bostypes gevoelig bos -ATM_03.1_group6 nl minder tot niet gevoelige bostypes minder/niet gevoelig bos -ATM_04.1 nl Atmosferisch meetnet: milieudruk 04.1_verzu_atm ATM: 04.1_verzu_atm -ATM_04.1_group1 nl zeer gevoelige niet-bostypes zeer gevoelig niet-bos -ATM_04.1_group2 nl gevoelige niet-bostypes gevoelig niet-bos -ATM_04.1_group3 nl minder tot niet gevoelige niet-bostypes minder/niet gevoelig niet-bos -ATM_04.1_group4 nl zeer gevoelige bostypes zeer gevoelig bos -ATM_04.1_group5 nl gevoelige bostypes gevoelig bos -ATM_04.1_group6 nl minder tot niet gevoelige bostypes minder/niet gevoelig bos -ATM_08.1 nl Atmosferisch meetnet: milieudruk 08.1_verontr_atm ATM: 08.1_verontr_atm -ATM_101 nl Atmosferisch meetnet: milieudruk 101_klim_droog ATM: 101_klim_droog -ATM_102 nl Atmosferisch meetnet: milieudruk 102_klim_nat ATM: 102_klim_nat BMF nl Moerassen NA CD nl Kustduinen NA CH nl Kust- en zilte habitats NA @@ -495,87 +368,19 @@ ep_class_10 nl 10 Klimaatverandering NA FD0 nl niet overstromingsafhankelijk niet overstromingsafhankelijk FD1 nl overstromingsafhankelijk op een deel van de locaties plaatselijk overstromingsafhankelijk FD2 nl overstromingsafhankelijk op (bijna) alle locaties (bijna) overal overstromingsafhankelijk -focal nl Hoofdmeetnet NA FS nl Bossen en struwelen NA FW nl Zoete en brakke wateren NA GD0 nl niet grondwaterafhankelijk niet grondwaterafhankelijk GD1 nl grondwaterafhankelijk op een deel van de locaties plaatselijk grondwaterafhankelijk GD2 nl grondwaterafhankelijk op (bijna) alle locaties (bijna) overal grondwaterafhankelijk GR nl (Half-)natuurlijke graslanden NA -GW nl Grondwatermeetnet NA -GW_03.3 nl Grondwatermeetnet: milieudruk 03.3_eutr_gw GW: 03.3_eutr_gw -GW_03.3_group1 nl types van oligotroof milieu oligotroof -GW_03.3_group2 nl types van mesotroof milieu mesotroof -GW_03.3_group3 nl types van zwak eutroof milieu zwak eutroof -GW_03.3_group4 nl types van matig eutroof tot eutroof milieu (matig) eutroof -GW_04.2 nl Grondwatermeetnet: milieudruk 04.2_verzu_gw GW: 04.2_verzu_gw -GW_05.1_aq nl Grondwatermeetnet: milieudruk 05.1_verdro_gw: partim aquatisch GW: 05.1_verdro_gw: aq -GW_05.1_aq_group1 nl types van bronbeken bronbeken -GW_05.1_aq_group2 nl types van stilstaand water met stabiel grondwaterregime stabiele plassen -GW_05.1_aq_group3 nl types van laaglandbeken laaglandbeken -GW_05.1_aq_group4 nl types van duinplassen (middelmatig grondwaterregime) duinplassen -GW_05.1_aq_group5 nl types van vennen met dynamisch grondwaterregime dynamische vennen -GW_05.1_quarries nl Grondwatermeetnet: milieudruk 05.1_verdro_gw: partim mergelgroeven GW: 05.1_verdro_gw: quarries -GW_05.1_terr nl Grondwatermeetnet: milieudruk 05.1_verdro_gw: partim terrestrisch GW: 05.1_verdro_gw: terr -GW_05.1_terr_group1 nl types van zeer nat milieu zeer nat -GW_05.1_terr_group2 nl types van nat milieu nat -GW_05.1_terr_group3 nl types van matig nat milieu matig nat -GW_05.1_terr_group4 nl types van vochtig milieu vochtig -GW_05.1_terr_group5 nl types van lokaal vochtig milieu lokaal vochtig -GW_05.2 nl Grondwatermeetnet: milieudruk 05.2_vernat_gw GW: 05.2_vernat_gw -GW_07.1 nl Grondwatermeetnet: milieudruk 07.1_verzoet_gw GW: 07.1_verzoet_gw -GW_08.3 nl Grondwatermeetnet: milieudruk 08.3_verontr_gw GW: 08.3_verontr_gw HC1 nl Droog tot vochtig Droog HC12 nl Droog tot vochtig + Tijdelijk tot permanent nat Droog + Nat HC2 nl Tijdelijk tot permanent nat Nat HC23 nl Tijdelijk tot permanent nat + Oppervlaktewater Nat + Oppervlaktewater HC3 nl Oppervlaktewater Oppervlaktewater -HQ1330 nl Meetnet habitatkwaliteit: Atlantische schorren Meetnet habitatkwaliteit 1330 -HQ2120 nl Meetnet habitatkwaliteit: wandelende duinen Meetnet habitatkwaliteit 2120 -HQ2130 nl Meetnet habitatkwaliteit: vastgelegde duinen Meetnet habitatkwaliteit 2130 -HQ2160 nl Meetnet habitatkwaliteit: duindoornstruwelen Meetnet habitatkwaliteit 2160 -HQ2170 nl Meetnet habitatkwaliteit: kruipwilgstruwelen Meetnet habitatkwaliteit 2170 -HQ2180 nl Meetnet habitatkwaliteit: duinbossen Meetnet habitatkwaliteit 2180 -HQ2190_aq nl Meetnet habitatkwaliteit: duinplassen Meetnet habitatkwaliteit 2190_a -HQ2190_terr nl Meetnet habitatkwaliteit: vochtige duinvalleien (terrestrisch) Meetnet habitatkwaliteit 2190 (terr) -HQ2310 nl Meetnet habitatkwaliteit: droge heide op landduinen Meetnet habitatkwaliteit 2310 -HQ2330 nl Meetnet habitatkwaliteit: open grasland op landduinen Meetnet habitatkwaliteit 2330 -HQ3110 nl Meetnet habitatkwaliteit: zeer zwakgebufferde vennen Meetnet habitatkwaliteit 3110 -HQ3130 nl Meetnet habitatkwaliteit: zwakgebufferde vennen Meetnet habitatkwaliteit 3130 -HQ3140 nl Meetnet habitatkwaliteit: kranswierwateren Meetnet habitatkwaliteit 3140 -HQ3150 nl Meetnet habitatkwaliteit: van nature eutrofe wateren Meetnet habitatkwaliteit 3150 -HQ3160 nl Meetnet habitatkwaliteit: dystrofe vennen Meetnet habitatkwaliteit 3160 -HQ3270 nl Meetnet habitatkwaliteit: voedselrijke slikoevers met bepaalde eenjarige planten Meetnet habitatkwaliteit 3270 -HQ4010 nl Meetnet habitatkwaliteit: vochtige heide Meetnet habitatkwaliteit 4010 -HQ4030 nl Meetnet habitatkwaliteit: droge heide Meetnet habitatkwaliteit 4030 -HQ6120 nl Meetnet habitatkwaliteit: stroomdalgraslanden Meetnet habitatkwaliteit 6120 -HQ6230 nl Meetnet habitatkwaliteit: heischrale graslanden Meetnet habitatkwaliteit 6230 -HQ6410 nl Meetnet habitatkwaliteit: blauwgraslanden Meetnet habitatkwaliteit 6410 -HQ6510 nl Meetnet habitatkwaliteit: soortenrijke glanshavergraslanden Meetnet habitatkwaliteit 6510 -HQ7140 nl Meetnet habitatkwaliteit: overgangs- en trilveen Meetnet habitatkwaliteit 7140 -HQ9120 nl Meetnet habitatkwaliteit: eiken-beukenbossen op zure bodem Meetnet habitatkwaliteit 9120 -HQ9130 nl Meetnet habitatkwaliteit: eiken-beukenbossen met wilde hyacint en parelgras-beukenbossen Meetnet habitatkwaliteit 9130 -HQ9160 nl Meetnet habitatkwaliteit: eiken-haagbeukenbossen Meetnet habitatkwaliteit 9160 -HQ9190 nl Meetnet habitatkwaliteit: oude eiken-berkenbossen Meetnet habitatkwaliteit 9190 -HQ91E0 nl Meetnet habitatkwaliteit: vochtige alluviale bossen Meetnet habitatkwaliteit 91E0 HS nl Heiden NA ID nl Binnenlandse duinen NA -INUN nl Inundatiemeetnet NA -INUN_03.4 nl Inundatiemeetnet: milieudruk 03.4_eutr_ow INUN: 03.4_eutr_ow -INUN_061 nl Inundatiemeetnet: milieudruk 061_overstr_plus INUN: 061_overstr_plus -INUN_062 nl Inundatiemeetnet: milieudruk 062_overstr_min INUN: 062_overstr_min -INUN_063 nl Inundatiemeetnet: milieudruk 063_owpeil_plus INUN: 063_owpeil_plus -INUN_064 nl Inundatiemeetnet: milieudruk 064_owpeil_min INUN: 064_owpeil_min -INUN_065 nl Inundatiemeetnet: milieudruk 065_golf_plus INUN: 065_golf_plus -INUN_066 nl Inundatiemeetnet: milieudruk 066_golf_min INUN: 066_golf_min -INUN_07.2 nl Inundatiemeetnet: milieudruk 07.2_verzoet_ow INUN: 07.2_verzoet_ow -INUN_08.4 nl Inundatiemeetnet: milieudruk 08.4_verontr_ow INUN: 08.4_verontr_ow -INUN_103 nl Inundatiemeetnet: milieudruk 103_klim_zee INUN: 103_klim_zee -lentic nl stilstaande wateren NA -lotic nl stromende wateren NA -MHQ nl Monitoringprogramma biotische habitatkwaliteit NA -MNE nl Monitoringprogramma natuurlijk milieu NA -quarries nl mergelgroeven NA rbbah nl Brak tot zilt water brak tot zilt water rbbha nl Soortenrijk, niet habitatwaardig struisgrasvegetatie soortenrijke struisgrasvegetatie rbbhc nl Dotterbloemgrasland dotterbloemgrasland @@ -598,26 +403,5 @@ rbbzil nl Zilverschoongrasland zilverschoongrasland rbbzil+ nl Soortenrijk zilverschoongrasland soortenrijk zilverschoongrasland RC nl Rotsachtige habitats en grotten NA RW nl Stromende wateren NA -secondary nl Secundair meetnet NA -SOIL nl Bodemmeetnet NA -SOIL_012 nl Bodemmeetnet: milieudruk 012_boddyn_plus SOIL: 012_boddyn_plus -SOIL_013 nl Bodemmeetnet: milieudruk 013_boddyn_min SOIL: 013_boddyn_min -SOIL_03.2 nl Bodemmeetnet: milieudruk 03.2_eutr_bod SOIL: 03.2_eutr_bod -SOIL_08.2 nl Bodemmeetnet: milieudruk 08.2_verontr_bod SOIL: 08.2_verontr_bod SS nl Thermofiel struikgewas NA -SURF nl Oppervlaktewatermeetnet NA -SURF_012 nl Oppervlaktewatermeetnet: milieudruk 012_boddyn_plus SURF: 012_boddyn_plus -SURF_03.2 nl Oppervlaktewatermeetnet: milieudruk 03.2_eutr_bod SURF: 03.2_eutr_bod -SURF_03.4_lentic nl Oppervlaktewatermeetnet: milieudruk 03.4_eutr_ow: partim stilstaande wateren SURF: 03.4_eutr_ow: lentic -SURF_03.4_lentic_group1 nl types van oligotroof milieu oligotroof -SURF_03.4_lentic_group2 nl types van mesotroof milieu mesotroof -SURF_03.4_lentic_group3 nl types van zwak eutroof milieu zwak eutroof -SURF_03.4_lentic_group4 nl types van matig eutroof tot eutroof milieu (matig) eutroof -SURF_03.4_lotic nl Oppervlaktewatermeetnet: milieudruk 03.4_eutr_ow: partim stromende wateren SURF: 03.4_eutr_ow: lotic -SURF_064 nl Oppervlaktewatermeetnet: milieudruk 064_owpeil_min SURF: 064_owpeil_min -SURF_066 nl Oppervlaktewatermeetnet: milieudruk 066_golf_min SURF: 066_golf_min -SURF_07.2 nl Oppervlaktewatermeetnet: milieudruk 07.2_verzoet_ow SURF: 07.2_verzoet_ow -SURF_08.2 nl Oppervlaktewatermeetnet: milieudruk 08.2_verontr_bod SURF: 08.2_verontr_bod -SURF_08.4 nl Oppervlaktewatermeetnet: milieudruk 08.4_verontr_ow SURF: 08.4_verontr_ow SW nl Stilstaande wateren NA -terr nl terrestrisch NA diff --git a/inst/textdata/namelist.yml b/inst/textdata/namelist.yml index 349e945c..7a224522 100644 --- a/inst/textdata/namelist.yml +++ b/inst/textdata/namelist.yml @@ -6,7 +6,7 @@ - lang - code hash: 3345146f5a5902a684bc1b965f00486c82952d94 - data_hash: f76563feaf7366d899ae235ab76bad50a7208e6a + data_hash: 2d1a17da2f1ee5e8c54e82a680c649e652cb6eb2 code: class: character lang: diff --git a/inst/textdata/scheme_types.tsv b/inst/textdata/scheme_types.tsv deleted file mode 100644 index 14e24db3..00000000 --- a/inst/textdata/scheme_types.tsv +++ /dev/null @@ -1,765 +0,0 @@ -scheme type typegroup -1 2 2 -1 3 2 -1 4 2 -1 5 2 -1 6 2 -1 7 2 -1 8 2 -1 9 2 -1 10 1 -1 11 1 -1 12 1 -1 13 2 -1 14 2 -1 15 1 -1 16 2 -1 17 1 -1 18 2 -1 19 1 -1 20 1 -1 21 1 -1 22 1 -1 23 1 -1 24 1 -1 25 1 -1 26 2 -1 27 1 -1 30 3 -1 31 1 -1 32 1 -1 33 1 -1 34 1 -1 35 1 -1 36 1 -1 37 2 -1 38 2 -1 39 1 -1 40 1 -1 41 1 -1 42 1 -1 43 1 -1 44 1 -1 45 2 -1 49 2 -1 50 2 -1 51 2 -1 52 2 -1 53 2 -1 54 2 -1 57 2 -1 58 2 -1 59 2 -1 60 1 -1 61 1 -1 62 1 -1 63 1 -1 64 2 -1 65 2 -1 66 2 -1 67 1 -1 68 2 -1 69 3 -1 70 1 -1 72 5 -1 73 5 -1 74 5 -1 75 5 -1 76 5 -1 77 5 -1 78 4 -1 80 5 -1 81 5 -1 82 5 -1 83 6 -1 84 6 -1 85 6 -1 86 4 -1 87 6 -1 88 5 -1 89 4 -2 10 7 -2 11 7 -2 12 7 -2 13 8 -2 15 7 -2 19 7 -2 20 7 -2 21 7 -2 22 7 -2 23 7 -2 24 7 -2 27 7 -2 31 7 -2 32 7 -2 33 7 -2 35 7 -2 37 7 -2 38 7 -2 39 7 -2 41 7 -2 42 7 -2 45 9 -2 49 7 -2 51 7 -2 53 7 -2 57 7 -2 72 10 -2 73 10 -2 74 10 -2 75 10 -2 76 10 -2 77 10 -2 78 10 -2 80 11 -2 81 11 -2 82 11 -2 83 11 -2 84 11 -2 85 11 -2 86 10 -2 88 10 -2 89 10 -3 9 NA -3 17 NA -3 18 NA -3 19 NA -3 20 NA -3 21 NA -3 26 NA -3 28 NA -3 36 NA -3 37 NA -3 38 NA -3 39 NA -3 40 NA -3 41 NA -3 42 NA -3 43 NA -3 44 NA -3 45 NA -3 46 NA -3 49 NA -3 50 NA -3 51 NA -3 52 NA -3 54 NA -3 58 NA -3 60 NA -3 61 NA -3 62 NA -3 63 NA -3 64 NA -3 65 NA -3 67 NA -3 68 NA -3 69 NA -3 70 NA -3 71 NA -4 1 NA -4 2 NA -4 3 NA -4 4 NA -4 5 NA -4 6 NA -4 7 NA -4 15 NA -4 17 NA -4 18 NA -4 29 NA -4 31 NA -4 32 NA -4 33 NA -4 35 NA -4 37 NA -4 38 NA -4 39 NA -4 40 NA -4 41 NA -4 42 NA -4 43 NA -4 45 NA -4 46 NA -4 50 NA -4 51 NA -4 52 NA -4 54 NA -4 59 NA -4 60 NA -4 61 NA -4 62 NA -4 63 NA -4 64 NA -4 65 NA -4 67 NA -4 68 NA -4 69 NA -4 70 NA -4 71 NA -4 72 NA -4 73 NA -4 74 NA -4 75 NA -4 76 NA -4 77 NA -4 78 NA -4 85 NA -4 86 NA -5 2 NA -5 9 NA -5 10 NA -5 11 NA -5 17 NA -5 18 NA -5 35 NA -5 71 NA -6 2 15 -6 7 15 -6 16 13 -6 17 13 -6 18 13 -6 22 12 -6 23 13 -6 24 14 -6 25 14 -6 26 15 -6 27 12 -6 28 15 -6 30 15 -6 31 12 -6 34 13 -6 40 12 -6 43 13 -6 44 13 -6 46 15 -6 47 15 -6 49 14 -6 50 14 -6 52 14 -6 54 14 -6 55 15 -6 56 14 -6 57 14 -6 58 15 -6 59 15 -6 60 13 -6 61 13 -6 62 14 -6 63 12 -6 64 12 -6 65 13 -6 66 13 -6 67 13 -6 68 15 -6 69 15 -6 70 13 -6 73 13 -6 74 14 -6 75 14 -6 77 14 -6 78 13 -6 79 15 -6 80 15 -6 81 15 -6 82 14 -6 83 15 -6 84 13 -6 87 15 -6 88 14 -6 89 15 -7 27 NA -7 40 NA -7 43 NA -7 44 NA -7 54 NA -8 16 28 -8 22 29 -8 23 29 -8 24 29 -8 25 26 -8 26 26 -8 27 26 -8 28 27 -8 30 26 -8 66 25 -64 71 NA -9 2 18 -9 3 16 -9 4 19 -9 5 16 -9 6 16 -9 7 18 -9 10 20 -9 11 20 -9 13 19 -9 14 19 -9 15 19 -9 17 17 -9 18 19 -9 29 16 -9 31 18 -9 34 17 -9 40 19 -9 43 18 -9 44 18 -9 45 20 -9 46 18 -9 47 18 -9 48 18 -9 50 19 -9 52 19 -9 54 18 -9 55 18 -9 56 18 -9 57 20 -9 58 19 -9 59 18 -9 60 16 -9 61 16 -9 62 16 -9 63 16 -9 64 18 -9 65 16 -9 66 16 -9 67 16 -9 68 17 -9 69 17 -9 70 17 -9 74 19 -9 75 20 -9 77 19 -9 78 20 -9 79 18 -9 80 19 -9 81 16 -9 82 16 -9 83 18 -9 84 16 -9 85 19 -9 86 20 -9 87 18 -9 88 18 -10 2 NA -10 7 NA -10 34 NA -10 48 NA -10 68 NA -10 73 NA -10 77 NA -10 80 NA -10 81 NA -10 82 NA -10 83 NA -10 84 NA -11 2 NA -11 7 NA -11 30 NA -12 2 NA -12 7 NA -12 23 NA -12 25 NA -12 26 NA -12 27 NA -12 28 NA -12 30 NA -12 40 NA -12 43 NA -12 44 NA -12 46 NA -12 47 NA -12 49 NA -12 50 NA -12 52 NA -12 54 NA -12 57 NA -12 58 NA -12 59 NA -12 60 NA -12 61 NA -12 62 NA -12 63 NA -12 64 NA -12 65 NA -12 66 NA -12 67 NA -12 68 NA -12 69 NA -12 70 NA -12 71 NA -13 1 NA -13 2 NA -13 3 NA -13 4 NA -13 5 NA -13 6 NA -13 7 NA -13 8 NA -13 13 NA -13 14 NA -13 15 NA -13 17 NA -13 18 NA -13 31 NA -13 34 NA -13 36 NA -13 37 NA -13 38 NA -13 40 NA -13 42 NA -13 43 NA -13 44 NA -13 45 NA -13 46 NA -13 47 NA -13 48 NA -13 49 NA -13 50 NA -13 51 NA -13 52 NA -13 54 NA -13 55 NA -13 56 NA -13 57 NA -13 58 NA -13 59 NA -13 60 NA -13 61 NA -13 62 NA -13 63 NA -13 64 NA -13 65 NA -13 66 NA -13 67 NA -13 68 NA -13 69 NA -13 70 NA -13 73 NA -13 74 NA -13 75 NA -13 77 NA -13 78 NA -13 79 NA -13 80 NA -13 81 NA -13 82 NA -13 83 NA -13 84 NA -13 85 NA -13 86 NA -13 87 NA -13 88 NA -13 89 NA -14 1 NA -14 2 NA -14 3 NA -14 5 NA -14 6 NA -14 7 NA -14 29 NA -14 36 NA -14 40 NA -14 43 NA -14 44 NA -14 46 NA -14 47 NA -14 48 NA -14 49 NA -14 50 NA -14 52 NA -14 54 NA -14 55 NA -14 56 NA -14 57 NA -14 58 NA -14 59 NA -14 60 NA -14 61 NA -14 62 NA -14 67 NA -14 68 NA -14 69 NA -14 70 NA -14 79 NA -14 80 NA -14 82 NA -14 83 NA -14 84 NA -14 85 NA -14 87 NA -14 88 NA -15 1 NA -15 2 NA -15 3 NA -15 4 NA -15 5 NA -15 6 NA -15 7 NA -15 29 NA -15 36 NA -15 47 NA -15 48 NA -15 50 NA -15 52 NA -15 58 NA -15 59 NA -15 68 NA -15 79 NA -15 85 NA -16 1 NA -16 3 NA -16 5 NA -16 6 NA -16 29 NA -16 47 NA -16 48 NA -16 79 NA -17 4 NA -17 65 NA -17 66 NA -18 1 NA -18 3 NA -18 5 NA -18 6 NA -18 29 NA -19 4 NA -20 2 NA -20 7 NA -21 1 NA -21 2 NA -21 3 NA -21 4 NA -21 7 NA -21 36 NA -21 37 NA -21 38 NA -21 39 NA -21 40 NA -21 41 NA -21 42 NA -21 43 NA -21 44 NA -21 45 NA -21 46 NA -21 47 NA -21 49 NA -21 50 NA -21 51 NA -21 52 NA -21 54 NA -21 57 NA -21 58 NA -21 59 NA -21 60 NA -21 61 NA -21 62 NA -21 65 NA -21 67 NA -21 68 NA -21 69 NA -22 1 NA -22 4 NA -22 8 NA -23 1 NA -23 3 NA -23 4 NA -23 5 NA -23 6 NA -23 8 NA -23 9 NA -23 10 NA -23 11 NA -23 12 NA -23 29 NA -23 36 NA -23 47 NA -23 48 NA -24 9 NA -24 10 NA -24 11 NA -24 12 NA -24 14 NA -24 17 NA -24 19 NA -24 20 NA -24 21 NA -24 35 NA -24 36 NA -24 76 NA -25 2 NA -25 7 NA -25 8 NA -25 9 NA -25 10 NA -25 11 NA -25 12 NA -25 17 NA -25 18 NA -25 19 NA -25 20 NA -25 21 NA -25 31 NA -25 32 NA -25 33 NA -25 34 NA -25 35 NA -25 36 NA -25 37 NA -25 38 NA -25 39 NA -25 40 NA -25 41 NA -25 42 NA -25 43 NA -25 44 NA -25 45 NA -25 46 NA -25 49 NA -25 50 NA -25 51 NA -25 52 NA -25 53 NA -25 54 NA -25 55 NA -25 57 NA -25 58 NA -25 59 NA -25 60 NA -25 61 NA -25 62 NA -25 63 NA -25 64 NA -25 65 NA -25 67 NA -25 68 NA -25 69 NA -25 70 NA -25 72 NA -25 73 NA -25 74 NA -25 75 NA -25 76 NA -25 77 NA -25 78 NA -25 79 NA -25 80 NA -25 81 NA -25 82 NA -25 84 NA -25 86 NA -25 87 NA -25 88 NA -25 89 NA -26 2 NA -26 7 NA -26 36 NA -26 37 NA -26 38 NA -26 39 NA -26 40 NA -26 41 NA -26 42 NA -26 43 NA -26 44 NA -26 45 NA -26 46 NA -26 49 NA -26 50 NA -26 51 NA -26 52 NA -26 54 NA -26 55 NA -26 57 NA -26 58 NA -26 59 NA -26 62 NA -26 67 NA -26 70 NA -26 71 NA -26 83 NA -26 87 NA -27 26 NA -27 28 NA -28 16 NA -28 22 NA -28 23 NA -28 24 NA -28 25 NA -28 26 NA -28 27 NA -28 28 NA -28 30 NA -62 16 22 -62 22 21 -62 23 22 -62 24 23 -62 25 23 -62 26 24 -62 27 21 -62 30 24 -63 28 NA -63 66 NA -30 28 NA -30 66 NA -31 23 NA -32 30 NA -33 22 NA -33 23 NA -33 24 NA -33 25 NA -33 26 NA -33 27 NA -33 28 NA -33 30 NA -34 22 NA -34 23 NA -34 24 NA -34 25 NA -34 26 NA -34 27 NA -34 28 NA -34 30 NA -35 6 NA -35 7 NA -29 9 NA -36 10 NA -36 11 NA -37 13 NA -38 14 NA -39 15 NA -61 16 NA -65 17 NA -65 18 NA -41 19 NA -42 20 NA -43 22 NA -44 23 NA -44 24 NA -45 25 NA -46 26 NA -47 27 NA -48 29 NA -49 31 NA -50 32 NA -51 36 NA -52 39 NA -52 40 NA -52 41 NA -52 42 NA -53 43 NA -53 44 NA -54 49 NA -54 50 NA -54 51 NA -54 52 NA -55 61 NA -55 63 NA -56 73 NA -57 74 NA -58 77 NA -59 78 NA -60 79 NA -60 80 NA -60 81 NA -60 82 NA -60 83 NA -60 84 NA diff --git a/inst/textdata/scheme_types.yml b/inst/textdata/scheme_types.yml deleted file mode 100644 index fca98c93..00000000 --- a/inst/textdata/scheme_types.yml +++ /dev/null @@ -1,432 +0,0 @@ -..generic: - git2rdata: 0.4.0 - optimize: yes - NA string: NA - sorting: - - scheme - - type - hash: 1d16af60f0fb182574a03255abb68d40909e1c07 - data_hash: f6f047d303c7a2d897aac7b16cd4e7e46e5f2141 -scheme: - class: factor - labels: - - ATM_03.1 - - ATM_04.1 - - ATM_08.1 - - ATM_101 - - ATM_102 - - GW_03.3 - - GW_04.2 - - GW_05.1_aq - - GW_05.1_quarries - - GW_05.1_terr - - GW_05.2 - - GW_07.1 - - GW_08.3 - - INUN_03.4 - - INUN_061 - - INUN_062 - - INUN_063 - - INUN_064 - - INUN_065 - - INUN_066 - - INUN_07.2 - - INUN_08.4 - - INUN_103 - - SOIL_012 - - SOIL_013 - - SOIL_03.2 - - SOIL_08.2 - - SURF_012 - - SURF_03.2 - - SURF_03.4_lentic - - SURF_03.4_lotic - - SURF_064 - - SURF_066 - - SURF_07.2 - - SURF_08.2 - - SURF_08.4 - - HQ1330 - - HQ2120 - - HQ2130 - - HQ2160 - - HQ2170 - - HQ2180 - - HQ2190_aq - - HQ2190_terr - - HQ2310 - - HQ2330 - - HQ3110 - - HQ3130 - - HQ3140 - - HQ3150 - - HQ3160 - - HQ3270 - - HQ4010 - - HQ4030 - - HQ6120 - - HQ6230 - - HQ6410 - - HQ6510 - - HQ7140 - - HQ9120 - - HQ9130 - - HQ9160 - - HQ9190 - - HQ91E0 - index: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - - 8 - - 64 - - 9 - - 10 - - 11 - - 12 - - 13 - - 14 - - 15 - - 16 - - 17 - - 18 - - 19 - - 20 - - 21 - - 22 - - 23 - - 24 - - 25 - - 26 - - 27 - - 28 - - 62 - - 63 - - 30 - - 31 - - 32 - - 33 - - 34 - - 35 - - 29 - - 36 - - 37 - - 38 - - 39 - - 61 - - 65 - - 41 - - 42 - - 43 - - 44 - - 45 - - 46 - - 47 - - 48 - - 49 - - 50 - - 51 - - 52 - - 53 - - 54 - - 55 - - 56 - - 57 - - 58 - - 59 - - 60 - ordered: no -type: - class: factor - labels: - - '1130' - - '1140' - - '1310' - - 1310_pol - - 1310_zk - - 1310_zv - - '1320' - - '1330' - - 1330_da - - 1330_hpr - - '2110' - - '2120' - - '2130' - - 2130_had - - 2130_hd - - '2150' - - '2160' - - '2170' - - '2180' - - '2190' - - 2190_a - - 2190_mp - - 2190_overig - - '2310' - - '2330' - - 2330_bu - - 2330_dw - - '3110' - - '3130' - - 3130_aom - - 3130_na - - '3140' - - '3150' - - '3160' - - '3260' - - '3270' - - rbbah - - '4010' - - '4030' - - rbbsg - - rbbsm - - '5130' - - 5130_hei - - 5130_kalk - - '6120' - - '6210' - - 6210_hk - - 6210_sk - - '6230' - - 6230_ha - - 6230_hmo - - 6230_hn - - 6230_hnk - - '6410' - - 6410_mo - - 6410_ve - - '6430' - - 6430_bz - - 6430_hf - - 6430_hw - - 6430_mr - - '6510' - - 6510_hu - - 6510_hua - - 6510_huk - - 6510_hus - - rbbha - - rbbhc - - rbbhf - - rbbhfl - - rbbkam - - rbbkam+ - - rbbvos - - rbbvos+ - - rbbzil - - rbbzil+ - - '7110' - - '7140' - - 7140_base - - 7140_meso - - 7140_mrd - - 7140_oli - - '7150' - - '7210' - - '7220' - - '7230' - - rbbmc - - rbbmr - - rbbms - - '8310' - - '9110' - - '9120' - - 9120_qb - - '9130' - - 9130_end - - 9130_fm - - '9150' - - '9160' - - '9190' - - 91E0 - - 91E0_sf - - 91E0_va - - 91E0_vc - - 91E0_vm - - 91E0_vn - - 91E0_vo - - 91F0 - - rbbppm - - rbbsf - - rbbso - - rbbsp - index: - - 90 - - 1 - - 91 - - 2 - - 3 - - 4 - - 5 - - 92 - - 6 - - 7 - - 8 - - 9 - - 93 - - 10 - - 11 - - 12 - - 13 - - 14 - - 15 - - 94 - - 16 - - 17 - - 18 - - 19 - - 95 - - 20 - - 21 - - 22 - - 96 - - 23 - - 24 - - 25 - - 26 - - 27 - - 28 - - 29 - - 30 - - 31 - - 32 - - 33 - - 34 - - 35 - - 97 - - 98 - - 36 - - 99 - - 37 - - 38 - - 100 - - 39 - - 40 - - 41 - - 42 - - 101 - - 43 - - 44 - - 102 - - 45 - - 46 - - 47 - - 48 - - 103 - - 49 - - 50 - - 51 - - 52 - - 53 - - 54 - - 55 - - 56 - - 57 - - 104 - - 58 - - 105 - - 59 - - 106 - - 107 - - 108 - - 60 - - 61 - - 62 - - 63 - - 64 - - 65 - - 66 - - 67 - - 68 - - 69 - - 70 - - 71 - - 72 - - 73 - - 109 - - 110 - - 74 - - 75 - - 76 - - 77 - - 78 - - 111 - - 79 - - 80 - - 81 - - 82 - - 83 - - 84 - - 85 - - 86 - - 87 - - 88 - - 89 - ordered: no -typegroup: - class: factor - labels: - - ATM_03.1_group1 - - ATM_03.1_group2 - - ATM_03.1_group3 - - ATM_03.1_group4 - - ATM_03.1_group5 - - ATM_03.1_group6 - - ATM_04.1_group1 - - ATM_04.1_group2 - - ATM_04.1_group3 - - ATM_04.1_group4 - - ATM_04.1_group5 - - GW_03.3_group1 - - GW_03.3_group2 - - GW_03.3_group3 - - GW_03.3_group4 - - GW_05.1_aq_group1 - - GW_05.1_aq_group2 - - GW_05.1_aq_group3 - - GW_05.1_aq_group4 - - GW_05.1_aq_group5 - - GW_05.1_terr_group1 - - GW_05.1_terr_group2 - - GW_05.1_terr_group3 - - GW_05.1_terr_group4 - - GW_05.1_terr_group5 - - SURF_03.4_lentic_group1 - - SURF_03.4_lentic_group2 - - SURF_03.4_lentic_group3 - - SURF_03.4_lentic_group4 - index: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - - 8 - - 9 - - 10 - - 11 - - 12 - - 13 - - 14 - - 15 - - 25 - - 26 - - 27 - - 28 - - 29 - - 16 - - 17 - - 18 - - 19 - - 20 - - 21 - - 22 - - 23 - - 24 - ordered: no diff --git a/inst/textdata/schemes.tsv b/inst/textdata/schemes.tsv deleted file mode 100644 index f7950e5f..00000000 --- a/inst/textdata/schemes.tsv +++ /dev/null @@ -1,65 +0,0 @@ -scheme programme attribute_1 attribute_2 attribute_3 spatial_restriction notes tag_1 tag_2 tag_3 -1 1 1 6 NA NA NA 1 NA NA -2 1 1 10 NA NA NA 1 NA NA -3 1 1 25 NA NA NA 2 NA NA -4 1 1 33 NA NA NA 2 NA NA -5 1 1 34 NA NA NA 2 NA NA -6 1 3 8 NA For terrestrial types: restrict to zones with shallow groundwater (in reach of vegetation). Don't exclude locations with types that are '(almost) everywhere groundwater dependent' (GD2). NA 1 NA NA -7 1 3 11 NA For terrestrial types: restrict to zones with shallow groundwater (in reach of vegetation). Don't exclude locations with types that are '(almost) everywhere groundwater dependent' (GD2). NA 2 NA NA -8 1 3 13 1 Exclude terrestrial (i.e. mire) forms of type 7220, if applicable. Exclude locations where the surface water is not connected with (nor affected by) the phreatic aquifer. NA 1 NA NA -64 1 3 13 6 Restrict to 8310 marl quarries that are directly connected with (intersected by) a groundwater aquifer. NA 1 NA NA -9 1 3 13 2 Restrict to zones with shallow groundwater (in reach of vegetation). Exclude aquatic (i.e. rivulet) forms of type 7220. Don't exclude locations with types that are '(almost) everywhere groundwater dependent' (GD2). NA 1 NA NA -10 1 3 14 NA For terrestrial types: restrict to zones with shallow groundwater (in reach of vegetation). Don't exclude locations with types that are '(almost) everywhere groundwater dependent' (GD2). NA 2 NA NA -11 1 3 21 NA For terrestrial types: restrict to zones with shallow groundwater (in reach of vegetation). Don't exclude locations with types that are '(almost) everywhere groundwater dependent' (GD2). NA 2 NA NA -12 1 3 27 NA For terrestrial types: restrict to zones with shallow groundwater (in reach of vegetation). Don't exclude locations with types that are '(almost) everywhere groundwater dependent' (GD2). NA 2 NA NA -13 1 5 9 NA Restrict to areas susceptible to flooding. Exclude aquatic (i.e. rivulet) forms of type 7220, if applicable. NA 1 NA NA -14 1 5 15 NA Restrict to areas susceptible to flooding. Exclude aquatic (i.e. rivulet) forms of type 7220, if applicable. NA 2 NA NA -15 1 5 16 NA Restrict to areas susceptible to flooding. NA 2 NA NA -16 1 5 17 NA Exclude aquatic (i.e. rivulet) forms of type 7220, if applicable. NA 2 NA NA -17 1 5 18 NA Exclude aquatic (i.e. rivulet) forms of type 7220, if applicable. NA 2 NA NA -18 1 5 19 NA Exclude aquatic (i.e. rivulet) forms of type 7220, if applicable. NA 2 NA NA -19 1 5 20 NA Exclude aquatic (i.e. rivulet) forms of type 7220, if applicable. NA 2 NA NA -20 1 5 22 NA Restrict to areas susceptible to flooding. NA 2 NA NA -21 1 5 28 NA Restrict to areas susceptible to flooding. Exclude aquatic (i.e. rivulet) forms of type 7220, if applicable. NA 2 NA NA -22 1 5 35 NA NA NA 2 NA NA -23 1 2 2 NA NA NA 2 NA NA -24 1 2 3 NA NA NA 2 NA NA -25 1 2 7 NA NA NA 1 NA NA -26 1 2 26 NA NA NA 2 NA NA -27 1 4 2 NA Exclude terrestrial (i.e. mire) forms of type 7220, if applicable. NA 2 NA NA -28 1 4 7 NA Exclude terrestrial (i.e. mire) forms of type 7220, if applicable. NA 2 NA NA -62 1 4 9 4 NA NA 1 NA NA -63 1 4 9 5 Exclude terrestrial (i.e. mire) forms of type 7220, if applicable. NA 1 NA NA -30 1 4 18 NA Exclude terrestrial (i.e. mire) forms of type 7220, if applicable. NA 2 NA NA -31 1 4 20 NA Exclude terrestrial (i.e. mire) forms of type 7220, if applicable. NA 2 NA NA -32 1 4 22 NA NA NA 2 NA NA -33 1 4 26 NA Exclude terrestrial (i.e. mire) forms of type 7220, if applicable. NA 2 NA NA -34 1 4 28 NA Exclude terrestrial (i.e. mire) forms of type 7220, if applicable. NA 2 NA NA -35 2 6 NA NA NA NA 4 NA NA -29 2 32 NA NA NA NA 4 NA NA -36 2 7 NA NA NA NA 4 NA NA -37 2 8 NA NA NA NA 4 NA NA -38 2 9 NA NA NA NA 4 NA NA -39 2 10 NA NA NA NA 4 NA NA -61 2 33 NA NA NA NA 3 NA NA -65 2 11 NA NA NA NA 4 NA NA -41 2 12 NA NA NA NA 4 NA NA -42 2 13 NA NA NA NA 4 NA NA -43 2 14 NA NA NA NA 3 NA NA -44 2 15 NA NA NA NA 3 NA NA -45 2 16 NA NA NA NA 3 NA NA -46 2 17 NA NA NA NA 3 NA NA -47 2 18 NA NA NA NA 3 NA NA -48 2 19 NA NA NA NA 3 NA NA -49 2 20 NA NA NA NA 4 NA NA -50 2 21 NA NA NA NA 4 NA NA -51 2 22 NA NA NA NA 4 NA NA -52 2 23 NA NA NA NA 4 NA NA -53 2 24 NA NA NA NA 4 NA NA -54 2 25 NA NA NA NA 4 NA NA -55 2 26 NA NA NA NA 4 NA NA -56 2 27 NA NA NA NA 4 NA NA -57 2 28 NA NA NA NA 4 NA NA -58 2 29 NA NA NA NA 4 NA NA -59 2 30 NA NA NA NA 4 NA NA -60 2 31 NA NA NA NA 4 NA NA diff --git a/inst/textdata/schemes.yml b/inst/textdata/schemes.yml deleted file mode 100644 index 5317bb63..00000000 --- a/inst/textdata/schemes.yml +++ /dev/null @@ -1,333 +0,0 @@ -..generic: - git2rdata: 0.4.0 - optimize: yes - NA string: NA - sorting: - - programme - - scheme - hash: a7161d9fe68befeb9feec626e0d5b0e3710eca97 - data_hash: 031ed7c381ae9a8bc4c70dab750d4b4b24a1e2ae -scheme: - class: factor - labels: - - ATM_03.1 - - ATM_04.1 - - ATM_08.1 - - ATM_101 - - ATM_102 - - GW_03.3 - - GW_04.2 - - GW_05.1_aq - - GW_05.1_quarries - - GW_05.1_terr - - GW_05.2 - - GW_07.1 - - GW_08.3 - - INUN_03.4 - - INUN_061 - - INUN_062 - - INUN_063 - - INUN_064 - - INUN_065 - - INUN_066 - - INUN_07.2 - - INUN_08.4 - - INUN_103 - - SOIL_012 - - SOIL_013 - - SOIL_03.2 - - SOIL_08.2 - - SURF_012 - - SURF_03.2 - - SURF_03.4_lentic - - SURF_03.4_lotic - - SURF_064 - - SURF_066 - - SURF_07.2 - - SURF_08.2 - - SURF_08.4 - - HQ1330 - - HQ2120 - - HQ2130 - - HQ2160 - - HQ2170 - - HQ2180 - - HQ2190_aq - - HQ2190_terr - - HQ2310 - - HQ2330 - - HQ3110 - - HQ3130 - - HQ3140 - - HQ3150 - - HQ3160 - - HQ3270 - - HQ4010 - - HQ4030 - - HQ6120 - - HQ6230 - - HQ6410 - - HQ6510 - - HQ7140 - - HQ9120 - - HQ9130 - - HQ9160 - - HQ9190 - - HQ91E0 - index: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - - 8 - - 64 - - 9 - - 10 - - 11 - - 12 - - 13 - - 14 - - 15 - - 16 - - 17 - - 18 - - 19 - - 20 - - 21 - - 22 - - 23 - - 24 - - 25 - - 26 - - 27 - - 28 - - 62 - - 63 - - 30 - - 31 - - 32 - - 33 - - 34 - - 35 - - 29 - - 36 - - 37 - - 38 - - 39 - - 61 - - 65 - - 41 - - 42 - - 43 - - 44 - - 45 - - 46 - - 47 - - 48 - - 49 - - 50 - - 51 - - 52 - - 53 - - 54 - - 55 - - 56 - - 57 - - 58 - - 59 - - 60 - ordered: no -programme: - class: factor - labels: - - MNE - - MHQ - index: - - 1 - - 2 - ordered: no -attribute_1: - class: factor - labels: - - ATM - - SOIL - - GW - - SURF - - INUN - - '1330' - - '2120' - - '2130' - - '2160' - - '2170' - - '2180' - - '2190' - - 2190_a - - '2310' - - '2330' - - '3110' - - '3130' - - '3140' - - '3150' - - '3160' - - '3270' - - '4010' - - '4030' - - '6120' - - '6230' - - '6410' - - '6510' - - '7140' - - '9120' - - '9130' - - '9160' - - '9190' - - 91E0 - index: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 32 - - 7 - - 8 - - 9 - - 10 - - 11 - - 33 - - 12 - - 13 - - 14 - - 15 - - 16 - - 17 - - 18 - - 19 - - 20 - - 21 - - 22 - - 23 - - 24 - - 25 - - 26 - - 27 - - 28 - - 29 - - 30 - - 31 - ordered: no -attribute_2: - class: factor - labels: - - ep_011 - - ep_012 - - ep_013 - - ep_014 - - ep_015 - - ep_03.1 - - ep_03.2 - - ep_03.3 - - ep_03.4 - - ep_04.1 - - ep_04.2 - - ep_04.3 - - ep_05.1 - - ep_05.2 - - ep_061 - - ep_062 - - ep_063 - - ep_064 - - ep_065 - - ep_066 - - ep_07.1 - - ep_07.2 - - ep_07.3 - - ep_07.4 - - ep_08.1 - - ep_08.2 - - ep_08.3 - - ep_08.4 - - ep_08.5 - - ep_09.1 - - ep_09.2 - - ep_09.3 - - ep_101 - - ep_102 - - ep_103 - index: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - - 8 - - 9 - - 10 - - 11 - - 12 - - 13 - - 14 - - 15 - - 16 - - 17 - - 18 - - 19 - - 20 - - 21 - - 22 - - 23 - - 24 - - 25 - - 26 - - 27 - - 28 - - 29 - - 30 - - 31 - - 32 - - 33 - - 34 - - 35 - ordered: no -attribute_3: - class: factor - labels: - - aq - - lentic - - lotic - - quarries - - terr - index: - - 1 - - 4 - - 5 - - 6 - - 2 - ordered: no -spatial_restriction: - class: character -notes: - class: character -tag_1: - class: factor - labels: - - focal - - secondary - - aq - - terr - index: - - 1 - - 2 - - 3 - - 4 - ordered: no -tag_2: - class: character -tag_3: - class: character diff --git a/man/env_pressures.Rd b/man/env_pressures.Rd index 0861521f..4923e597 100644 --- a/man/env_pressures.Rd +++ b/man/env_pressures.Rd @@ -61,8 +61,6 @@ languages). Other n2khab-referencelists: \code{\link{namelist}}, -\code{\link{scheme_types}}, -\code{\link{schemes}}, \code{\link{types}} } \concept{n2khab-referencelists} diff --git a/man/expand_types.Rd b/man/expand_types.Rd index 857b56d7..3b18e980 100644 --- a/man/expand_types.Rd +++ b/man/expand_types.Rd @@ -78,13 +78,13 @@ main type but to an non-defined subtype with no specific code). \examples{ library(dplyr) x <- - read_scheme_types() \%>\% + n2khabmon::read_scheme_types() \%>\% filter(scheme == "GW_05.1_terr") expand_types(x) expand_types(x, strict = FALSE) x <- - read_scheme_types() \%>\% + n2khabmon::read_scheme_types() \%>\% filter(scheme == "GW_05.1_terr") \%>\% group_by(typegroup) expand_types(x) @@ -107,7 +107,6 @@ expand_types(x, type_var = "mycode", strict = FALSE) } \seealso{ -\code{\link{read_scheme_types}}, \code{\link{read_types}}, \code{\link{read_habitatmap_terr}}, \code{\link{read_watersurfaces_hab}} diff --git a/man/n2khab-deprecated.Rd b/man/n2khab-deprecated.Rd new file mode 100644 index 00000000..9e59fd82 --- /dev/null +++ b/man/n2khab-deprecated.Rd @@ -0,0 +1,24 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/n2khab-deprecated.R +\name{n2khab-deprecated} +\alias{n2khab-deprecated} +\alias{read_schemes} +\alias{read_scheme_types} +\title{Deprecated functions} +\usage{ +read_schemes(...) + +read_scheme_types(...) +} +\arguments{ +\item{...}{arguments passed to the new function} +} +\description{ +\itemize{ +\item \code{\link[=read_schemes]{read_schemes()}} has moved to package \code{n2khabmon}. +Use \code{\link[n2khabmon:read_schemes]{n2khabmon::read_schemes()}} instead. +\item \code{\link[=read_scheme_types]{read_scheme_types()}} has moved to package \code{n2khabmon}. +Use \code{\link[n2khabmon:read_scheme_types]{n2khabmon::read_scheme_types()}} instead. +} +} +\keyword{internal} diff --git a/man/namelist.Rd b/man/namelist.Rd index 689de7a3..ab30df1f 100644 --- a/man/namelist.Rd +++ b/man/namelist.Rd @@ -46,8 +46,6 @@ Multiple languages are supported. Other n2khab-referencelists: \code{\link{env_pressures}}, -\code{\link{scheme_types}}, -\code{\link{schemes}}, \code{\link{types}} } \concept{n2khab-referencelists} diff --git a/man/read_env_pressures.Rd b/man/read_env_pressures.Rd index 723c0551..3a59cd94 100644 --- a/man/read_env_pressures.Rd +++ b/man/read_env_pressures.Rd @@ -99,8 +99,6 @@ read_env_pressures(lang = "nl") Other reading functions for n2khab-referencelists: \code{\link{read_namelist}()}, -\code{\link{read_scheme_types}()}, -\code{\link{read_schemes}()}, \code{\link{read_types}()} } \concept{reading functions for n2khab-referencelists} diff --git a/man/read_namelist.Rd b/man/read_namelist.Rd index 64f6712b..2a17eabd 100644 --- a/man/read_namelist.Rd +++ b/man/read_namelist.Rd @@ -65,8 +65,6 @@ read_namelist(lang = "nl") Other reading functions for n2khab-referencelists: \code{\link{read_env_pressures}()}, -\code{\link{read_scheme_types}()}, -\code{\link{read_schemes}()}, \code{\link{read_types}()} } \concept{reading functions for n2khab-referencelists} diff --git a/man/read_scheme_types.Rd b/man/read_scheme_types.Rd deleted file mode 100644 index 6bd978dc..00000000 --- a/man/read_scheme_types.Rd +++ /dev/null @@ -1,133 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/read_textdata.R -\name{read_scheme_types} -\alias{read_scheme_types} -\title{Return the 'scheme_types' data source as a tibble} -\usage{ -read_scheme_types( - path = pkgdatasource_path("textdata/scheme_types", ".yml"), - file = "scheme_types", - file_namelist = "namelist", - lang = "en", - extended = FALSE -) -} -\arguments{ -\item{path}{Location of the data sources \code{scheme_types}, -\code{schemes}, \code{types} and \code{namelist}. -The default is to use the location of the data sources as delivered by -the installed package.} - -\item{file}{The filename of the \code{scheme_types} data source, without extension. -The default is to use the file delivered by the installed package.} - -\item{file_namelist}{The filename of the \code{namelist} data source, -without extension. -The default is to use the file delivered by the installed package.} - -\item{lang}{An -\href{https://www.w3.org/International/articles/language-tags/index.en}{ -IETF BCP 47 language tag}, such as \code{"en"} or \code{"nl"}, to specify -the language of names & shortnames to be returned in the tibble.} - -\item{extended}{Should names & shortnames be added for scheme, programme, -scheme attributes, type, typeclass and tags of scheme and type?} -} -\value{ -The \code{scheme_types} data frame as a \code{\link[tibble:tbl_df-class]{tibble}}, -with names & shortnames added for the typegroup variable and optionally for -scheme, programme, -scheme attributes, type and attributes & tags of scheme and type, all -according to the \code{lang} argument. -The tibble has either 5 or many variables, depending on the \code{extended} -argument. -See \code{\link{scheme_types}} for documentation of the data-source's contents. -See \code{\link{namelist}} for the link between codes or other identifiers -and the corresponding names (and shortnames). - -The \emph{optionally} added names and shortnames are represented by the -following variables: -\itemize{ - \item \code{scheme_name} - \item \code{scheme_shortname} - \item \code{programme_name} - \item \code{attribute_1_name} - \item \code{attribute_1_shortname} - \item \code{attribute_2_name} - \item \code{attribute_2_shortname} - \item \code{attribute_3_name} - \item \code{attribute_3_shortname} - \item \code{schemetag_1_name} - \item \code{schemetag_1_shortname} - \item \code{schemetag_2_name} - \item \code{schemetag_2_shortname} - \item \code{schemetag_3_name} - \item \code{schemetag_3_shortname} - \item \code{type_name} - \item \code{type_shortname} - \item \code{typeclass_name} - \item \code{hydr_class_name} - \item \code{hydr_class_shortname} - \item \code{groundw_dep_name} - \item \code{groundw_dep_shortname} - \item \code{flood_dep_name} - \item \code{flood_dep_shortname} - \item \code{typetag_1_name} - \item \code{typetag_1_shortname} - \item \code{typetag_2_name} - \item \code{typetag_2_shortname} - \item \code{typetag_3_name} - \item \code{typetag_3_shortname} -} - -The added names and shortnames for scheme, programme, -attributes and typegroup are \emph{factors} with their level order according -to that of the scheme, programme, attribute or typegroup variable. -} -\description{ -Returns the included data source \code{\link{scheme_types}} as a -\code{\link[tibble:tbl_df-class]{tibble}}. -Names and shortnames from \code{\link{namelist}} are optionally added, -in English by default. -} -\details{ -\code{\link{scheme_types}} is a data source in the -\href{https://ropensci.github.io/git2rdata}{vc-format} which lists -the types (using the type-code from \code{\link{types}}) that belong to -each N2KHAB (monitoring or research) scheme (using the scheme-code from -\code{\link{schemes}}). -It also defines typegroup memberships of the types within specific schemes, -if applicable. - -\code{read_scheme_types()} reads the \code{\link{scheme_types}} data -source, optionally adds names + shortnames (always done for the typegroup) -and returns it as a -\code{\link[tibble:tbl_df-class]{tibble}}. -A tibble is a data frame that makes working in the tidyverse a little -\href{https://r4ds.had.co.nz/tibbles.html}{easier}. -By default, the data version delivered with the package is used and English -names (\code{lang = "en"}) are returned. -} -\section{Recommended usage}{ - - - \code{read_scheme_types()} - - \code{read_scheme_types(lang = "nl")} -} - -\examples{ -read_scheme_types() -read_scheme_types(lang = "nl") - -} -\seealso{ -\code{\link{scheme_types}} - -Other reading functions for n2khab-referencelists: -\code{\link{read_env_pressures}()}, -\code{\link{read_namelist}()}, -\code{\link{read_schemes}()}, -\code{\link{read_types}()} -} -\concept{reading functions for n2khab-referencelists} diff --git a/man/read_schemes.Rd b/man/read_schemes.Rd deleted file mode 100644 index c6abce32..00000000 --- a/man/read_schemes.Rd +++ /dev/null @@ -1,110 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/read_textdata.R -\name{read_schemes} -\alias{read_schemes} -\title{Return the 'schemes' data source as a tibble with names & shortnames} -\usage{ -read_schemes( - path = pkgdatasource_path("textdata/schemes", ".yml"), - file = "schemes", - file_namelist = "namelist", - lang = "en" -) -} -\arguments{ -\item{path}{Location of the data sources \code{schemes} and \code{namelist}. -The default is to use the location of the data sources as delivered by -the installed package.} - -\item{file}{The filename of the \code{schemes} data source, without extension. -The default is to use the file delivered by the installed package.} - -\item{file_namelist}{The filename of the \code{namelist} data source, -without extension. -The default is to use the file delivered by the installed package.} - -\item{lang}{An -\href{https://www.w3.org/International/articles/language-tags/index.en}{ -IETF BCP 47 language tag}, such as \code{"en"} or \code{"nl"}, to specify -the language of names & shortnames to be returned in the tibble.} -} -\value{ -The \code{schemes} data frame as a \code{\link[tibble:tbl_df-class]{tibble}}, -with names & shortnames added for scheme, programme, attributes and tags -according to the \code{lang} argument. -The tibble has 25 variables. -See \code{\link{schemes}} for documentation of the data-source's contents. -See \code{\link{namelist}} for the link between codes or other identifiers -and the corresponding names (and shortnames). - -The added names and shortnames are represented by the following variables: -\itemize{ - \item \code{scheme_name} - \item \code{scheme_shortname} - \item \code{programme_name} - \item \code{attribute_1_name} - \item \code{attribute_1_shortname} - \item \code{attribute_2_name} - \item \code{attribute_2_shortname} - \item \code{attribute_3_name} - \item \code{attribute_3_shortname} - \item \code{tag_1_name} - \item \code{tag_1_shortname} - \item \code{tag_2_name} - \item \code{tag_2_shortname} - \item \code{tag_3_name} - \item \code{tag_3_shortname} -} - -The added names and shortnames for scheme, programme and attributes are -\emph{factors} with their level order according to that of the -scheme, programme or attribute variable. -} -\description{ -Returns the included data source \code{\link{schemes}} as a -\code{\link[tibble:tbl_df-class]{tibble}}. -Names and shortnames from \code{\link{namelist}} are added, -in English by default. -} -\details{ -\code{\link{schemes}} is a data source in the -\href{https://ropensci.github.io/git2rdata}{vc-format} which provides -a list of (monitoring) schemes for N2KHAB monitoring programmes or -other N2KHAB projects, together -with defining attributes and optional information. -A 'scheme' refers to a monitoring or research setup that determines -which types (habitat/RIBs) are to be investigated for a question or for -a bunch of related questions. - -\code{read_schemes()} reads the \code{\link{schemes}} data source, adds -names + shortnames and returns it as a -\code{\link[tibble:tbl_df-class]{tibble}}. -A tibble is a data frame that makes working in the tidyverse a little -\href{https://r4ds.had.co.nz/tibbles.html}{easier}. -By default, the data version delivered with the package is used and English -names (\code{lang = "en"}) are returned for scheme, programme, attributes -and tags. -} -\section{Recommended usage}{ - - - \code{read_schemes()} - - \code{read_schemes(lang = "nl")} -} - -\examples{ -read_schemes() -read_schemes(lang = "nl") - -} -\seealso{ -\code{\link{schemes}} - -Other reading functions for n2khab-referencelists: -\code{\link{read_env_pressures}()}, -\code{\link{read_namelist}()}, -\code{\link{read_scheme_types}()}, -\code{\link{read_types}()} -} -\concept{reading functions for n2khab-referencelists} diff --git a/man/read_types.Rd b/man/read_types.Rd index e946bfa6..aab58b14 100644 --- a/man/read_types.Rd +++ b/man/read_types.Rd @@ -104,8 +104,6 @@ read_types(lang = "nl") Other reading functions for n2khab-referencelists: \code{\link{read_env_pressures}()}, -\code{\link{read_namelist}()}, -\code{\link{read_scheme_types}()}, -\code{\link{read_schemes}()} +\code{\link{read_namelist}()} } \concept{reading functions for n2khab-referencelists} diff --git a/man/scheme_types.Rd b/man/scheme_types.Rd deleted file mode 100644 index cdbb0b72..00000000 --- a/man/scheme_types.Rd +++ /dev/null @@ -1,93 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/textdata.R -\name{scheme_types} -\alias{scheme_types} -\title{Documentation of included data source 'scheme_types'} -\format{ -A vc-formatted data source. As such, it corresponds to -a data frame with 3 variables: -\describe{ - \item{scheme}{Code of the scheme, as a factor, and explained by - \code{\link{namelist}}. - It must be represented in \code{\link{schemes}}. - } - \item{type}{Code of the type, as a factor, and explained by - \code{\link{namelist}}. - It must be represented in \code{\link{types}}.} - \item{typegroup}{An \emph{optional} code (and optionally explained by - \code{\link{namelist}}), - declaring the typegroup to which a type belongs \emph{within the specified - scheme}. - Typegroups point out which types are considered together as a group in - inferences for the scheme at hand.} -} - -Each combination of \code{scheme} and \code{type} must be unique. -} -\source{ -\itemize{ - \item{For the MNE-schemes: - \itemize{ - \item{the link between schemes and types comes from - a vc-formatted, Dutch-language data source - which can be found in the - \href{https://github.com/inbo/n2khab}{ - n2khab Github repository}: - \code{misc/generate_textdata/rawraw_data/10_compmeetnet_types_milieudrukken}. - This data source was originally generated in the - n2khab-mne-selections repository - (\samp{https://gitlab.com/florisvdh/n2khab-mne-selections}).} - \item{the declaration of typegroups comes from - \href{https://docs.google.com/spreadsheets/d/1n2ohvuLEK_anX37gxlanQXRGotweMVonFxKxtfTcuZI}{ - this googlesheet}. - Currently, the typegroups are kept up to date both in the - googlesheet and in the data source.} - } - } - } - -\itemize{ - \item{For the MHQ-schemes, the list of sampled types is based on the report of - \href{https://pureportal.inbo.be/portal/files/4339795/Westra_etal_2014_MonitoringNatura2000Habitats.pdf}{Westra \emph{et al.} (2014)}. - } - } -} -\description{ -'scheme_types' is a data source in the -\href{https://ropensci.github.io/git2rdata}{vc-format} which lists -the types (using the type-code from \code{\link{types}}) that belong to -each N2KHAB (monitoring or research) scheme (using the scheme-code from -\code{\link{schemes}}). -It also defines typegroup memberships of the types within specific schemes, -if applicable. -The codes of schemes and types (and optionally: typegroups) -are explained in the -data source \code{\link{namelist}} (which can accommodate multiple -languages). -} -\section{Typical way of loading}{ - - - \code{read_scheme_types()} - - \code{read_scheme_types(lang = "nl")} -} - -\section{Corresponding datafiles in the installed package}{ - - - \code{textdata/scheme_types.tsv} - - \code{textdata/scheme_types.yml} -} - -\seealso{ -\code{\link{read_scheme_types}} - -Other n2khab-referencelists: -\code{\link{env_pressures}}, -\code{\link{namelist}}, -\code{\link{schemes}}, -\code{\link{types}} -} -\concept{n2khab-referencelists} diff --git a/man/schemes.Rd b/man/schemes.Rd deleted file mode 100644 index db7a20d3..00000000 --- a/man/schemes.Rd +++ /dev/null @@ -1,143 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/textdata.R -\name{schemes} -\alias{schemes} -\title{Documentation of included data source 'schemes'} -\format{ -A vc-formatted data source. As such, it corresponds to -a data frame with 10 variables: -\describe{ - \item{scheme}{Code of the scheme, as a factor. - This is the ID for use in diverse workflows and datasets. - Corresponding names and shortnames - in multiple languages are to be found in \code{\link{namelist}}. - Contains no duplicates! - - A 'scheme' refers to a monitoring or research setup that determines - which types (habitat/RIBs) are to be investigated for a question or for - a bunch of related questions. - } - \item{programme}{Code of the programme to which the scheme belongs. - The programme's code is explained by \code{\link{namelist}}. - Is a factor. - - A 'programme' refers to a N2KHAB monitoring programme or research project. - One programme can correspond to multiple schemes. - At least the monitoring programmes MHQ and MNE are present. - } - \item{attribute_1}{The first defining attribute of the scheme. - Typically, the code is explained by \code{\link{namelist}}. - Is a factor. - \itemize{ - \item{In MNE, this is used to declare the 'compartment superscheme' (scheme - collection) to which the scheme belongs, and which is named after the - environmental compartment (however note that the surfacewater superscheme - comprises two environmental compartments).} - \item{In MHQ, this is used to define the target habitat type of the - monitoring scheme.} - } - } - \item{attribute_2}{A second defining attribute of the scheme (if needed). - Typically, the code is explained by \code{\link{namelist}}. - Is a factor. - \itemize{ - \item{In MNE, this provides the code of the environmental pressure to - which the scheme is related. - It must be represented in \code{\link{env_pressures}}.} - } - } - \item{attribute_3}{A third defining attribute of the scheme (if needed). - Typically, the code is explained by \code{\link{namelist}}. - Is a factor. - \itemize{ - \item{In MNE, this is used to declare an \strong{optional} partitioning of the - scheme that would be constituted by attributes 1 and 2 alone - (environmental compartment and pressure), which will hence divide the - concerned types in at least two groups. - This typically has to do with differences in the considered - environmental variables or compatibility of interpretation. - - It is \emph{not} meant to distinguish between different types or - typegroups for inferences, so types are kept in the same scheme as - long as the measured values have compatibility of interpretation. - To declare which types or typegroups should be - distinguished in inferences, use the \code{typegroup} variable in the - \code{\link{scheme_types}} data source!} - } - } - \item{spatial_restriction}{Optional further defining specification of a - scheme (in English): - spatial restrictions, superposed on the restrictions already - generated by the attributes.} - \item{notes}{Optional. In English. For additional notes on the scheme - definition, if necessary.} - \item{tag_1}{Optional tag, e.g. a categorization ID explained - by \code{\link{namelist}}. - \itemize{ - \item{In MNE, this is used to tag which schemes are focal schemes and - which ones are secondary schemes.} - \item{In MHQ, this is used to separate aquatic and terrestial - monitoring schemes.} - } - } - \item{tag_2}{Optional tag, e.g. a categorization ID explained - by \code{\link{namelist}}.} - \item{tag_3}{Optional tag, e.g. a categorization ID explained - by \code{\link{namelist}}.} -} -} -\source{ -\itemize{ - \item{For the MNE-schemes: a vc-formatted, Dutch-language data source - which can be found in the - \href{https://github.com/inbo/n2khab}{ - n2khab Github repository}: - \code{misc/generate_textdata/rawraw_data/10_compmeetnet_types_milieudrukken}. - This data source was originally generated in the - n2khab-mne-selections repository - (\samp{https://gitlab.com/florisvdh/n2khab-mne-selections}). - } - } -\itemize{ - \item{More information on the MHQ-schemes can be found in - \href{https://pureportal.inbo.be/portal/files/4339795/Westra_etal_2014_MonitoringNatura2000Habitats.pdf}{Westra \emph{et al.} (2014)}. - } - } -} -\description{ -'schemes' is a data source in the -\href{https://ropensci.github.io/git2rdata}{vc-format} which provides -a list of (monitoring) schemes for N2KHAB monitoring programmes or -other N2KHAB projects, together -with defining attributes and optional information. -The codes of schemes, programmes, attributes and tags -are explained in the -data source \code{\link{namelist}} (which can accommodate multiple -languages). -} -\section{Typical way of loading}{ - - - \code{read_schemes()} - - \code{read_schemes(lang = "nl")} -} - -\section{Corresponding datafiles in the installed package}{ - - - \code{textdata/schemes.tsv} - - \code{textdata/schemes.yml} -} - -\seealso{ -\code{\link{read_schemes}} - -Other n2khab-referencelists: -\code{\link{env_pressures}}, -\code{\link{namelist}}, -\code{\link{scheme_types}}, -\code{\link{types}} -} -\concept{n2khab-referencelists} diff --git a/man/types.Rd b/man/types.Rd index 2d4049c7..074b36e9 100644 --- a/man/types.Rd +++ b/man/types.Rd @@ -96,8 +96,6 @@ languages). Other n2khab-referencelists: \code{\link{env_pressures}}, -\code{\link{namelist}}, -\code{\link{scheme_types}}, -\code{\link{schemes}} +\code{\link{namelist}} } \concept{n2khab-referencelists} diff --git a/misc/generate_textdata/30_schemes_and_scheme_types.Rmd b/misc/generate_textdata/30_schemes_and_scheme_types.Rmd deleted file mode 100644 index 5e88b2fb..00000000 --- a/misc/generate_textdata/30_schemes_and_scheme_types.Rmd +++ /dev/null @@ -1,631 +0,0 @@ -# Collecting 'schemes' and 'scheme_types' information and moving data into three n2khab data sources - -The concerned data sources are: - -- `schemes` and `scheme_types` (to be created, uses either codes or English-only text) -- `namelist` (accommodates names in multiple languages, for variables of interest that are represented by codes) - -## Information from the monitoring programme for the natural environment (MNE) - -### Collecting information for `schemes` and `scheme_types` - -Reading data frame coming from the [n2khab-mne-selections](https://gitlab.com/florisvdh/n2khab-mne-selections) repo (a git LFS repo on Gitlab): - -```{r} -schemes_types_nl <- - read_vc("rawraw_data/10_compmeetnet_types_milieudrukken") -``` - -Reading a link between older Dutch codes of environmental pressures and the current ep_codes: - -```{r message=FALSE} -ws_list <- sheet_names(ep_gs_id) -ep_codes <- - ep_gs_id %>% - read_sheet(sheet = ws_list[str_detect(ws_list, "\\ 1.0\\ ")]) %>% - select(ep_code = Environmental_pressure_code, - ep_code_nl = Environmental_pressure_code_NL_OLD) %>% - mutate(ep_code = factor(ep_code, - levels = - read_vc(ep_path, root) %>% - .$ep_code %>% - levels), - ep_code_nl = plyr::mapvalues(ep_code, - from = ep_code, - to = ep_code_nl) - ) -``` - -Making a data frame that combines the information of `schemes` and `scheme_types`: - -```{r} -types <- read_vc(types_path, root) -# for 5.1, types with HC23 must be doubled: -types_hc <- - types %>% - select(type, hydr_class) %>% - mutate(type = as.character(type), - second_class = ifelse(hydr_class == "HC23", - "HC2", - NA), - hydr_class = ifelse(hydr_class == "HC23", - "HC3", - as.character(hydr_class))) %>% - pivot_longer(cols = contains("class"), - names_to = "dummy", - values_to = "hydr_class_expand", - values_drop_na = TRUE) %>% - select(-dummy) -schemes_schemetypes <- - schemes_types_nl %>% - select(attribute_1 = Comp_meetnet, - attribute_2 = Druk, - tag_1 = MaxMilieudrukkengroep, - type = Vegcode) %>% - mutate(type = as.character(type)) %>% - inner_join(types_hc, by = "type") %>% - mutate( - programme = "MNE" %>% factor, - attribute_1 = recode(attribute_1, - "Atmosferisch meetnet" = "ATM", - "Bodemmeetnet" = "SOIL", - "Grondwatermeetnet" = "GW", - "Oppervlaktewatermeetnet" = "SURF", - "Inundatiemeetnet" = "INUN"), - attribute_2 = factor(attribute_2, - levels = - ep_codes %>% - .$ep_code_nl %>% - levels) %>% - plyr::mapvalues(., - from = levels(.), - to = ep_codes %>% - .$ep_code %>% - levels - ), - attribute_3 = ifelse(attribute_1 == "GW" & attribute_2 == "ep_05.1", - ifelse(hydr_class_expand == "HC3", - "aq", - ifelse(type == "8310", - "quarries", - "terr") - ), - ifelse(attribute_1 == "SURF" & - attribute_2 == "ep_03.4", - ifelse(type %in% c("3260", "7220"), - "lotic", - "lentic"), - NA) - ) %>% - factor, - scheme = str_c(attribute_1, - str_match(attribute_2, "ep(_.+)")[,2], - ifelse(is.na(attribute_3), - "", - str_c("_", - attribute_3)) - ) %>% - factor, - tag_1 = ifelse(tag_1 == "a", - "focal", - "secondary") %>% - factor, - type = factor(type, - levels = - types %>% - .$type %>% - levels) - ) %>% - select(-hydr_class_expand) %>% - distinct() %>% - arrange(programme, scheme) -``` - - -### Make the `schemes` data source with MNE content - -Set path and filename of `schemes` and `scheme_types`: - -```{r} -schemes_path <- "inst/textdata/schemes" -scheme_types_path <- "inst/textdata/scheme_types" -``` - -Separately defining spatial restrictions for specific schemes: - -```{r} -spat_restr <- - tibble( - scheme = c("GW_05.1_terr"), - spatial_restriction = - paste("Restrict to zones with shallow groundwater", - "(in reach of vegetation).", - "Exclude aquatic (i.e. rivulet) forms of type 7220.", - "Don't exclude locations with types that are", - "'(almost) everywhere groundwater dependent' (GD2).") - ) %>% - bind_rows(tibble( - scheme = c("GW_03.3", - "GW_04.2", - "GW_05.2", - "GW_07.1", - "GW_08.3"), - spatial_restriction = - paste("For terrestrial types: restrict to zones with shallow groundwater", - "(in reach of vegetation).", - "Don't exclude locations with types that are", - "'(almost) everywhere groundwater dependent' (GD2).") - ) - ) %>% - bind_rows(tibble( - scheme = c("INUN_062", - "INUN_07.2"), - spatial_restriction = "Restrict to areas susceptible to flooding." - ) - ) %>% - bind_rows(tibble( - scheme = c("INUN_03.4", - "INUN_061", - "INUN_08.4"), - spatial_restriction = - paste("Restrict to areas susceptible to flooding.", - "Exclude aquatic (i.e. rivulet) forms of type 7220, if applicable." - ) - ) - ) %>% - bind_rows(tibble( - scheme = c("INUN_063", - "INUN_064", - "INUN_065", - "INUN_066"), - spatial_restriction = - "Exclude aquatic (i.e. rivulet) forms of type 7220, if applicable." - ) - ) %>% - bind_rows(tibble( - scheme = c("SURF_012", - "SURF_03.2", - "SURF_03.4_lotic", - "SURF_064", - "SURF_066", - "SURF_08.2", - "SURF_08.4"), - spatial_restriction = - "Exclude terrestrial (i.e. mire) forms of type 7220, if applicable." - ) - ) %>% - bind_rows(tibble( - scheme = "GW_05.1_aq", - spatial_restriction = - paste("Exclude terrestrial (i.e. mire) forms of type 7220, if applicable.", - "Exclude locations where the surface water is not connected with (nor affected by) the phreatic aquifer.") - ) - ) %>% - bind_rows(tibble( - scheme = "GW_05.1_quarries", - spatial_restriction = - "Restrict to 8310 marl quarries that are directly connected with (intersected by) a groundwater aquifer." - ) - ) %>% - mutate(scheme = factor(scheme, - levels = - schemes_schemetypes %>% - .$scheme %>% - levels)) -``` - -Preparing `schemes` with MNE content: - -```{r} -schemes <- - schemes_schemetypes %>% - distinct(scheme, - programme, - attribute_1, - attribute_2, - attribute_3, - tag_1) %>% - left_join(spat_restr, by = "scheme") %>% - mutate(notes = NA %>% as.character, - tag_2 = NA %>% as.character, - tag_3 = NA %>% as.character - ) %>% - select(scheme, - programme, - attribute_1, - attribute_2, - attribute_3, - spatial_restriction, - notes, - tag_1, - tag_2, - tag_3) %>% - arrange(programme, scheme) -``` - -### Make the `scheme_types` data source with MNE content - -Collecting typegroup information to join on type: - -```{r message=FALSE} -ws_list <- sheet_names(tg_gs_id) - -typegroups <- - - tg_gs_id %>% - read_sheet(sheet = ws_list[str_detect(ws_list, "Eutrofiëring")], - .name_repair = make.names) %>% - slice(2:n()) %>% - expand_grid(scheme = c("GW_03.3", - "SURF_03.4_lentic") - ) %>% - select(scheme, - type = Type, - typegroup = Cluster.voedselrijkdom) %>% - - bind_rows( - tg_gs_id %>% - read_sheet(sheet = "GW_05.1 (XG3)", - .name_repair = make.names) %>% - filter(Type %in% - (schemes_schemetypes %>% - filter(scheme == "GW_05.1_terr") %>% - .$type) - ) %>% - mutate(scheme = "GW_05.1_terr") %>% - select(scheme, - type = Type, - typegroup = Typegroep) - ) %>% - - bind_rows( - tg_gs_id %>% - read_sheet(sheet = "GW_05.1_aq (XG3)", - .name_repair = make.names) %>% - filter(Type %in% - (schemes_schemetypes %>% - filter(scheme == "GW_05.1_aq") %>% - .$type) - ) %>% - mutate(scheme = "GW_05.1_aq") %>% - select(scheme, - type = Type, - typegroup = Typegroep) - ) %>% - - bind_rows( - tg_gs_id %>% - read_sheet(sheet = ws_list[str_detect(ws_list, "ATM_03\\.1")], - .name_repair = make.names) %>% - mutate(scheme = "ATM_03.1") %>% - select(scheme, - type = Type, - typegroup = Typegroep) - ) %>% - - bind_rows( - tg_gs_id %>% - read_sheet(sheet = ws_list[str_detect(ws_list, "ATM_04\\.1")], - .name_repair = make.names) %>% - mutate(scheme = "ATM_04.1") %>% - select(scheme, - type = Type, - typegroup = Typegroep) - ) %>% - - mutate(scheme = factor(scheme, - levels = - schemes_schemetypes$scheme %>% - levels), - type = factor(type, - levels = - schemes_schemetypes$type %>% - levels), - typegroup = str_c(scheme, - "_group", - typegroup) %>% - factor - ) -``` - -Preparing `scheme_types` with MNE content: - -```{r} -scheme_types <- - schemes_schemetypes %>% - distinct(scheme, - type) %>% - left_join(typegroups, - by = c("scheme", "type")) %>% - arrange(scheme, type) -``` - - -### Append associated names (multi-language) to the `namelist` datasource - -Appending MNE names for `attribute_1`, `attribute_3`, `tag_1` and `programme`: - -```{r} -cbind(code = c("ATM", "SOIL", "GW", "SURF", "INUN"), - lang = c(rep("en", 5), rep("nl", 5)) - ) %>% - cbind(name = c("Atmospheric monitoring", - "Soil monitoring", - "Groundwater monitoring", - "Surfacewater monitoring", - "Inundationwater monitoring", - "Atmosferisch meetnet", - "Bodemmeetnet", - "Grondwatermeetnet", - "Oppervlaktewatermeetnet", - "Inundatiemeetnet")) %>% - rbind(matrix(c("aq", "en", "aquatic", - "terr", "en", "terrestrial", - "quarries", "en", "marl quarries", - "aq", "nl", "aquatisch", - "terr", "nl", "terrestrisch", - "quarries", "nl", "mergelgroeven", - "lotic", "en", "lotic waters", - "lentic", "en", "lentic waters", - "lotic", "nl", "stromende wateren", - "lentic", "nl", "stilstaande wateren"), - ncol = 3, - byrow = TRUE)) %>% - rbind(matrix(c("focal", "en", "Focal scheme", - "secondary", "en", "Secondary scheme", - "focal", "nl", "Hoofdmeetnet", - "secondary", "nl", "Secundair meetnet"), - nrow = 4, - byrow = TRUE)) %>% - rbind(matrix(c("MNE", "en", "Monitoring programme for the Natural Environment", - "MHQ", "en", "Monitoring programme for biotic Habitat Quality", - "MNE", "nl", "Monitoringprogramma natuurlijk milieu", - "MHQ", "nl", "Monitoringprogramma biotische habitatkwaliteit"), - nrow = 4, - byrow = TRUE)) %>% - as_tibble %>% - mutate(shortname = NA %>% as.character) %>% - bind_rows(read_vc(namelist_path, root), - .) %>% - write_vc(namelist_path, root) -``` - -Appending MNE names and shortnames for `scheme`: - -```{r message=FALSE} -namelist <- read_vc(namelist_path, root) -schemes %>% - filter(programme == "MNE") %>% - distinct(scheme, attribute_1, attribute_2, attribute_3) %>% - mutate_all(as.character) %>% - rename(code = scheme) %>% - mutate(code = as.character(code)) %>% - crossing(lang = c("en", "nl")) %>% - left_join(namelist %>% select(-shortname), - by = c("attribute_1" = "code", "lang")) %>% - rename(name_1 = name) %>% - left_join(tibble(lang = c("en", "nl"), - name_2 = c("environmental pressure", - "milieudruk")), - by = "lang") %>% - left_join(namelist %>% select(-name), - by = c("attribute_2" = "code", "lang")) %>% - rename(name_3 = shortname) %>% - left_join(namelist %>% select(-shortname), - by = c("attribute_3" = "code", "lang")) %>% - rename(name_4 = name) %>% - mutate(name = str_c(name_1, - ": ", - name_2, - " ", - name_3, - ifelse(is.na(name_4), - "", - str_c(": partim ", - name_4) - ) - ), - shortname = str_c(attribute_1, - ": ", - name_3, - ifelse(is.na(attribute_3), - "", - str_c(": ", - attribute_3) - ) - ) - ) %>% - select(code, lang, name, shortname) %>% - bind_rows(read_vc(namelist_path, root), - .) %>% - write_vc(namelist_path, root) -``` - -Appending names and shortnames for typegroups of MNE schemes: - -```{r} -tribble(~nr, ~lang, ~name, ~shortname, - 1, "en", "very sensitive non-forest types", "very sensitive non-forest", - 1, "nl", "zeer gevoelige niet-bostypes", "zeer gevoelig niet-bos", - 2, "en", "sensitive non-forest types", "sensitive non-forest", - 2, "nl", "gevoelige niet-bostypes", "gevoelig niet-bos", - 3, "en", "less to not sensitive non-forest types", "less/not sensitive non-forest", - 3, "nl", "minder tot niet gevoelige niet-bostypes", "minder/niet gevoelig niet-bos", - 4, "en", "very sensitive forest types", "very sensitive forest", - 4, "nl", "zeer gevoelige bostypes", "zeer gevoelig bos", - 5, "en", "sensitive forest types", "sensitive forest", - 5, "nl", "gevoelige bostypes", "gevoelig bos", - 6, "en", "less to not sensitive forest types", "less/not sensitive forest", - 6, "nl", "minder tot niet gevoelige bostypes", "minder/niet gevoelig bos" - ) %>% - crossing(prefix = c("ATM_03.1_group", "ATM_04.1_group")) %>% - mutate(code = str_c(prefix, nr)) %>% - select(code, lang, name, shortname) %>% - bind_rows( - tribble(~nr, ~lang, ~name, ~shortname, - 1, "en", "types from oligotrophic environments", "oligotrophic", - 1, "nl", "types van oligotroof milieu", "oligotroof", - 2, "en", "types from mesotrophic environments", "mesotrophic", - 2, "nl", "types van mesotroof milieu", "mesotroof", - 3, "en", "types from weakly eutrophic environments", "weakly eutrophic", - 3, "nl", "types van zwak eutroof milieu", "zwak eutroof", - 4, "en", "types from moderately eutrophic to eutrophic environments", "(moderately) eutrophic", - 4, "nl", "types van matig eutroof tot eutroof milieu", "(matig) eutroof" - ) %>% - crossing(prefix = c("GW_03.3_group", "SURF_03.4_lentic_group")) %>% - mutate(code = str_c(prefix, nr)) %>% - select(code, lang, name, shortname) - ) %>% - bind_rows( - tribble(~code, ~lang, ~name, ~shortname, - 1, "en", "types from very wet environments", "very wet", - 1, "nl", "types van zeer nat milieu", "zeer nat", - 2, "en", "types from wet environments", "wet", - 2, "nl", "types van nat milieu", "nat", - 3, "en", "types from moderately wet environments", "moderately wet", - 3, "nl", "types van matig nat milieu", "matig nat", - 4, "en", "types from moist environments", "moist", - 4, "nl", "types van vochtig milieu", "vochtig", - 5, "en", "types from locally moist environments", "locally moist", - 5, "nl", "types van lokaal vochtig milieu", "lokaal vochtig" - ) %>% - mutate(code = str_c("GW_05.1_terr_group", code)) - ) %>% - bind_rows( - tribble(~code, ~lang, ~name, ~shortname, - 1, "en", "types from spring-fed brooks", "spring-fed brooks", - 1, "nl", "types van bronbeken", "bronbeken", - 2, "en", "types from lakes with stable groundwater table", "stable lakes", - 2, "nl", "types van stilstaand water met stabiel grondwaterregime", "stabiele plassen", - 3, "en", "types from lowland rivers", "lowland rivers", - 3, "nl", "types van laaglandbeken", "laaglandbeken", - 4, "en", "types from dune lakes (moderate groundwater dynamics)", "dune lakes", - 4, "nl", "types van duinplassen (middelmatig grondwaterregime)", "duinplassen", - 5, "en", "types from softwater lakes with dynamic groundwater table", "dynamic softwater lakes", - 5, "nl", "types van vennen met dynamisch grondwaterregime", "dynamische vennen" - ) %>% - mutate(code = str_c("GW_05.1_aq_group", code)) - ) %>% - bind_rows(read_vc(namelist_path, root), - .) %>% - write_vc(namelist_path, root) -``` - - - -## Appending records for the monitoring programme for biotic habitat quality (MHQ) - -Writing `schemes`. - -```{r message=FALSE} -schemes_MHQ <- - mhq_gs_id %>% - read_sheet(sheet = 1, col_types = "c") %>% - mutate(attribute_1 = ifelse(attribute_1 == 91, - "91E0", - as.character(attribute_1)), - scheme = as.factor(scheme), - programme = as.factor(programme), - attribute_1 = as.factor(attribute_1), - tag_1 = as.factor(tag_1)) - -schemes %>% - bind_rows(schemes_MHQ) %>% - mutate(scheme = factor(scheme, - levels = c( - levels(schemes$scheme), - levels(schemes_MHQ$scheme) - ) - ), - programme = factor(programme, - levels = c( - levels(schemes$programme), - levels(schemes_MHQ$programme) - ) - ), - attribute_1 = factor(attribute_1, - levels = c( - levels(schemes$attribute_1), - levels(schemes_MHQ$attribute_1) - ) - ), - tag_1 = factor(tag_1, - levels = c( - levels(schemes$tag_1), - levels(schemes_MHQ$tag_1) - ) - ) - ) %>% - arrange(programme, scheme) %>% - write_vc(schemes_path, - root, - sorting = c("programme", - "scheme"), - optimize = TRUE, - strict = FALSE) - -``` - -Writing `scheme_types`. - -```{r} -scheme_type_MHQ <- - mhq_gs_id %>% - read_sheet(sheet = 2) %>% - mutate(scheme = factor(scheme), - type = unlist(type)) - -scheme_types %>% - bind_rows(scheme_type_MHQ) %>% - mutate(scheme = factor(scheme, - levels = c( - levels(scheme_types$scheme), - levels(scheme_type_MHQ$scheme) - )), - type = factor(type, - levels = levels(scheme_types$type)) - ) %>% - arrange(scheme, type) %>% - write_vc(scheme_types_path, - root, - sorting = c("scheme", - "type"), - optimize = TRUE, - strict = FALSE) - - -``` - -Appending MHQ names for `scheme`. - -```{r message=FALSE} - -namelist <- read_vc(namelist_path, root) - -schemes_MHQ_names <- schemes_MHQ %>% - left_join(namelist, by = c("attribute_1" = "code")) %>% - mutate(name = paste0(ifelse(lang == "en", - "Habitat quality scheme: ", - "Meetnet habitatkwaliteit: "), - shortname, - ifelse(scheme == "HQ2190_terr", - ifelse(lang == "en", - " (terrestrial)", " (terrestrisch)"), - "") - ), - shortname = paste0(ifelse(lang == "en", - "Habitat quality scheme ", - "Meetnet habitatkwaliteit "), - attribute_1, - ifelse(scheme == "HQ2190_terr", - " (terr)", - "")) - ) %>% - select(code = scheme, lang, name, shortname) - -namelist %>% - bind_rows(schemes_MHQ_names) %>% - write_vc(namelist_path, root) - -``` - diff --git a/misc/generate_textdata/90_check_textdata.Rmd b/misc/generate_textdata/90_check_textdata.Rmd index 36b39832..806f9893 100644 --- a/misc/generate_textdata/90_check_textdata.Rmd +++ b/misc/generate_textdata/90_check_textdata.Rmd @@ -130,85 +130,6 @@ ep_check %>% }) ``` -## schemes - -```{r} -schemes_check <- - read_vc(schemes_path, root) -``` - - -Are all scheme codes unique? - -```{r} -schemes_check %>% - count(scheme) %>% - filter(n > 1) %>% - nrow == 0 -``` - -Which are the represented programmes (projects)? - -```{r} -schemes_check %>% - distinct(programme) -``` - -Are all `attribute_2` values of the MNE programme present in `env_pressures`? - -```{r} -schemes_check %>% - filter(programme == "MNE") %>% - distinct(attribute_2) %>% - .$attribute_2 %in% ep_check$ep_code %>% - all -``` - - -## scheme_types - -```{r} -scheme_types_check <- - read_vc(scheme_types_path, root) -``` - - -No double combinations occur? - -```{r} -scheme_types_check %>% - count(scheme, type) %>% - filter(n > 1) %>% - nrow == 0 -``` - -All occurring schemes are present in `schemes`? - -```{r} -scheme_types_check %>% - .$scheme %in% schemes_check$scheme %>% - all -``` - -All occurring types are present in `types`? - -```{r} -scheme_types_check %>% - .$type %in% types_check$type %>% - all -``` - -When a scheme-type combination has a typegroup, is this always the case for all types of the concerned scheme? - -```{r message=FALSE} -scheme_types_check %>% - group_by(scheme) %>% - summarise(nr_entries = sum(!is.na(typegroup))) %>% - filter(nr_entries > 0) %>% - inner_join(scheme_types_check) %>% - filter(is.na(typegroup)) %>% - nrow == 0 -``` diff --git a/misc/generate_textdata/rawraw_data/10_compmeetnet_types_milieudrukken.tsv b/misc/generate_textdata/rawraw_data/10_compmeetnet_types_milieudrukken.tsv deleted file mode 100644 index 1a57f0e3..00000000 --- a/misc/generate_textdata/rawraw_data/10_compmeetnet_types_milieudrukken.tsv +++ /dev/null @@ -1,719 +0,0 @@ -Comp_meetnet Typeklasse Vegcode Waterhuishoudingsklasse_2 Druk Milieudruk MaxMilieudrukkengroep -1 1 1 3 1 1 2 -1 1 2 3 1 1 2 -1 1 2 3 2 2 3 -1 1 2 3 6 6 1 -1 1 3 3 1 1 2 -1 1 3 3 6 6 1 -1 1 4 3 1 1 2 -1 1 4 3 6 6 1 -1 1 5 3 1 1 2 -1 1 5 3 6 6 1 -1 1 6 3 1 1 2 -1 1 6 3 6 6 1 -1 1 7 3 1 1 2 -1 1 7 3 6 6 1 -1 2 8 2 6 6 1 -1 2 9 1 2 2 3 -1 2 9 1 6 6 1 -1 2 9 1 22 22 3 -1 2 10 2 2 2 3 -1 2 10 2 6 6 1 -1 2 10 2 10 10 1 -1 2 11 2 2 2 3 -1 2 11 2 6 6 1 -1 2 11 2 10 10 1 -1 2 12 1 6 6 1 -1 2 12 1 10 10 1 -1 2 13 2 6 6 1 -1 2 13 2 10 10 1 -1 2 14 3 6 6 1 -1 2 15 2 1 1 2 -1 2 15 2 6 6 1 -1 2 15 2 10 10 1 -1 2 16 4 6 6 1 -1 2 17 3 1 1 2 -1 2 17 3 2 2 3 -1 2 17 3 6 6 1 -1 2 17 3 22 22 3 -1 2 18 3 1 1 2 -1 2 18 3 2 2 3 -1 2 18 3 6 6 1 -1 2 18 3 22 22 3 -1 3 19 1 6 6 1 -1 3 19 1 10 10 1 -1 3 19 1 22 22 3 -1 3 20 1 6 6 1 -1 3 20 1 10 10 1 -1 3 20 1 22 22 3 -1 3 21 1 6 6 1 -1 3 21 1 10 10 1 -1 3 21 1 22 22 3 -1 4 22 4 6 6 1 -1 4 22 4 10 10 1 -1 4 23 4 6 6 1 -1 4 23 4 10 10 1 -1 4 24 4 6 6 1 -1 4 24 4 10 10 1 -1 4 25 4 6 6 1 -1 4 26 4 6 6 1 -1 4 26 4 22 22 3 -1 4 27 4 6 6 1 -1 4 27 4 10 10 1 -1 4 28 4 22 22 3 -1 4 29 3 1 1 2 -1 4 73 4 6 6 1 -1 5 30 3 1 1 2 -1 5 30 3 6 6 1 -1 5 30 3 10 10 1 -1 5 31 1 1 1 2 -1 5 31 1 6 6 1 -1 5 31 1 10 10 1 -1 5 82 1 1 1 2 -1 5 82 1 6 6 1 -1 5 82 1 10 10 1 -1 5 83 3 6 6 1 -1 6 32 1 1 1 2 -1 6 32 1 2 2 3 -1 6 32 1 6 6 1 -1 6 32 1 10 10 1 -1 7 33 3 6 6 1 -1 7 33 3 22 22 3 -1 7 34 1 1 1 2 -1 7 34 1 6 6 1 -1 7 34 1 10 10 1 -1 7 34 1 22 22 3 -1 7 35 1 1 1 2 -1 7 35 1 6 6 1 -1 7 35 1 10 10 1 -1 7 35 1 22 22 3 -1 7 36 1 1 1 2 -1 7 36 1 6 6 1 -1 7 36 1 10 10 1 -1 7 36 1 22 22 3 -1 7 37 3 1 1 2 -1 7 37 3 6 6 1 -1 7 37 3 22 22 3 -1 7 38 1 1 1 2 -1 7 38 1 6 6 1 -1 7 38 1 10 10 1 -1 7 38 1 22 22 3 -1 7 39 1 1 1 2 -1 7 39 1 6 6 1 -1 7 39 1 10 10 1 -1 7 39 1 22 22 3 -1 7 40 3 1 1 2 -1 7 40 3 6 6 1 -1 7 40 3 22 22 3 -1 7 41 3 6 6 1 -1 7 41 3 22 22 3 -1 7 42 2 1 1 2 -1 7 42 2 6 6 1 -1 7 42 2 10 10 1 -1 7 42 2 22 22 3 -1 7 43 3 1 1 2 -1 7 43 3 22 22 3 -1 7 46 2 6 6 1 -1 7 46 2 10 10 1 -1 7 46 2 22 22 3 -1 7 47 3 1 1 2 -1 7 47 3 6 6 1 -1 7 47 3 22 22 3 -1 7 48 1 1 1 2 -1 7 48 1 6 6 1 -1 7 48 1 10 10 1 -1 7 48 1 22 22 3 -1 7 49 3 1 1 2 -1 7 49 3 6 6 1 -1 7 49 3 22 22 3 -1 7 88 1 6 6 1 -1 7 88 1 10 10 1 -1 7 74 3 1 1 2 -1 7 74 3 6 6 1 -1 7 74 3 22 22 3 -1 7 76 2 6 6 1 -1 7 76 2 10 10 1 -1 7 86 3 6 6 1 -1 7 86 3 22 22 3 -1 7 87 3 1 1 2 -1 7 87 3 6 6 1 -1 8 50 3 1 1 2 -1 8 50 3 6 6 1 -1 8 50 3 22 22 3 -1 8 51 3 1 1 2 -1 8 51 3 6 6 1 -1 8 51 3 22 22 3 -1 8 52 3 1 1 2 -1 8 52 3 6 6 1 -1 8 52 3 22 22 3 -1 8 53 3 1 1 2 -1 8 53 3 6 6 1 -1 8 53 3 22 22 3 -1 8 54 3 1 1 2 -1 8 54 3 6 6 1 -1 8 54 3 22 22 3 -1 8 55 3 1 1 2 -1 8 55 3 6 6 1 -1 8 55 3 22 22 3 -1 8 56 5 6 6 1 -1 8 57 3 1 1 2 -1 8 57 3 6 6 1 -1 8 57 3 22 22 3 -1 8 77 3 1 1 2 -1 8 77 3 6 6 1 -1 8 77 3 22 22 3 -1 8 78 3 1 1 2 -1 8 78 3 6 6 1 -1 8 78 3 22 22 3 -1 8 79 3 1 1 2 -1 8 79 3 6 6 1 -1 8 79 3 22 22 3 -1 9 58 2 1 1 2 -1 9 58 2 2 2 3 -1 9 58 2 22 22 3 -1 10 59 1 1 1 2 -1 10 59 1 6 6 1 -1 10 59 1 10 10 1 -1 10 60 2 1 1 2 -1 10 60 2 6 6 1 -1 10 60 2 10 10 1 -1 10 61 2 1 1 2 -1 10 61 2 6 6 1 -1 10 61 2 10 10 1 -1 10 62 2 1 1 2 -1 10 62 2 6 6 1 -1 10 62 2 10 10 1 -1 10 63 1 1 1 2 -1 10 63 1 6 6 1 -1 10 63 1 10 10 1 -1 10 64 2 1 1 2 -1 10 64 2 6 6 1 -1 10 64 2 10 10 1 -1 10 65 2 1 1 2 -1 10 65 2 6 6 1 -1 10 65 2 10 10 1 -1 10 67 3 6 6 1 -1 10 67 3 10 10 1 -1 10 68 3 6 6 1 -1 10 68 3 10 10 1 -1 10 69 3 6 6 1 -1 10 69 3 10 10 1 -1 10 70 3 6 6 1 -1 10 70 3 10 10 1 -1 10 71 3 6 6 1 -1 10 71 3 10 10 1 -1 10 72 3 1 1 2 -1 10 72 3 6 6 1 -1 10 72 3 10 10 1 -1 10 80 2 1 1 2 -1 10 80 2 6 6 1 -1 10 80 2 10 10 1 -1 10 81 3 6 6 1 -1 10 84 3 6 6 1 -1 10 84 3 10 10 1 -1 10 85 2 6 6 1 -1 10 85 2 10 10 1 -2 1 1 3 4 4 3 -2 1 2 3 7 7 1 -2 1 2 3 23 23 3 -2 1 3 3 4 4 3 -2 1 4 3 4 4 3 -2 1 5 3 4 4 3 -2 1 6 3 4 4 3 -2 1 7 3 7 7 1 -2 1 7 3 23 23 3 -2 2 8 2 4 4 3 -2 2 8 2 7 7 1 -2 2 9 1 4 4 3 -2 2 9 1 5 5 2 -2 2 9 1 7 7 1 -2 2 10 2 4 4 3 -2 2 10 2 5 5 2 -2 2 10 2 7 7 1 -2 2 11 2 4 4 3 -2 2 11 2 5 5 2 -2 2 11 2 7 7 1 -2 2 12 1 4 4 3 -2 2 12 1 5 5 2 -2 2 12 1 7 7 1 -2 2 14 3 5 5 2 -2 2 17 3 5 5 2 -2 2 17 3 7 7 1 -2 2 18 3 7 7 1 -2 3 19 1 5 5 2 -2 3 19 1 7 7 1 -2 3 20 1 5 5 2 -2 3 20 1 7 7 1 -2 3 21 1 5 5 2 -2 3 21 1 7 7 1 -2 4 29 3 4 4 3 -2 5 30 3 7 7 1 -2 5 31 1 7 7 1 -2 5 82 1 7 7 1 -2 5 83 3 7 7 1 -2 6 32 1 5 5 2 -2 6 32 1 7 7 1 -2 7 33 3 4 4 3 -2 7 33 3 5 5 2 -2 7 33 3 7 7 1 -2 7 33 3 23 23 3 -2 7 34 1 7 7 1 -2 7 34 1 23 23 3 -2 7 35 1 7 7 1 -2 7 35 1 23 23 3 -2 7 36 1 7 7 1 -2 7 36 1 23 23 3 -2 7 37 3 7 7 1 -2 7 37 3 23 23 3 -2 7 38 1 7 7 1 -2 7 38 1 23 23 3 -2 7 39 1 7 7 1 -2 7 39 1 23 23 3 -2 7 40 3 7 7 1 -2 7 40 3 23 23 3 -2 7 41 3 7 7 1 -2 7 41 3 23 23 3 -2 7 42 2 7 7 1 -2 7 42 2 23 23 3 -2 7 43 3 7 7 1 -2 7 43 3 23 23 3 -2 7 44 3 4 4 3 -2 7 45 3 4 4 3 -2 7 46 2 7 7 1 -2 7 46 2 23 23 3 -2 7 47 3 7 7 1 -2 7 47 3 23 23 3 -2 7 48 1 7 7 1 -2 7 48 1 23 23 3 -2 7 49 3 7 7 1 -2 7 49 3 23 23 3 -2 7 88 1 7 7 1 -2 7 74 3 7 7 1 -2 7 74 3 23 23 3 -2 7 75 3 7 7 1 -2 7 75 3 23 23 3 -2 7 76 2 7 7 1 -2 7 76 2 23 23 3 -2 7 86 3 7 7 1 -2 7 86 3 23 23 3 -2 7 87 3 7 7 1 -2 7 87 3 23 23 3 -2 8 50 3 7 7 1 -2 8 51 3 7 7 1 -2 8 52 3 7 7 1 -2 8 52 3 23 23 3 -2 8 53 3 7 7 1 -2 8 54 3 7 7 1 -2 8 55 3 7 7 1 -2 8 57 3 7 7 1 -2 8 57 3 23 23 3 -2 8 77 3 7 7 1 -2 8 78 3 7 7 1 -2 8 79 3 7 7 1 -2 8 79 3 23 23 3 -2 9 58 2 23 23 3 -2 10 59 1 7 7 1 -2 10 60 2 7 7 1 -2 10 61 2 7 7 1 -2 10 62 2 7 7 1 -2 10 63 1 5 5 2 -2 10 63 1 7 7 1 -2 10 64 2 7 7 1 -2 10 65 2 7 7 1 -2 10 66 3 7 7 1 -2 10 67 3 7 7 1 -2 10 68 3 7 7 1 -2 10 69 3 7 7 1 -2 10 70 3 23 23 3 -2 10 71 3 7 7 1 -2 10 80 2 7 7 1 -2 10 81 3 7 7 1 -2 10 81 3 23 23 3 -2 10 84 3 7 7 1 -2 10 85 2 7 7 1 -3 1 2 3 8 8 1 -3 1 2 3 12 12 1 -3 1 2 3 13 13 3 -3 1 2 3 20 20 4 -3 1 2 3 24 24 3 -3 1 3 3 12 12 1 -3 1 4 3 12 12 1 -3 1 5 3 12 12 1 -3 1 6 3 12 12 1 -3 1 7 3 8 8 1 -3 1 7 3 12 12 1 -3 1 7 3 13 13 3 -3 1 7 3 20 20 4 -3 1 7 3 24 24 3 -3 2 10 2 12 12 1 -3 2 11 2 12 12 1 -3 2 13 2 12 12 1 -3 2 14 3 12 12 1 -3 2 15 2 12 12 1 -3 2 16 4 8 8 1 -3 2 16 4 12 12 1 -3 2 17 3 8 8 1 -3 2 17 3 12 12 1 -3 2 18 3 8 8 1 -3 2 18 3 12 12 1 -3 4 22 4 8 8 1 -3 4 22 4 12 12 1 -3 4 23 4 8 8 1 -3 4 23 4 12 12 1 -3 4 23 4 24 24 3 -3 4 24 4 8 8 1 -3 4 24 4 12 12 1 -3 4 25 4 8 8 1 -3 4 25 4 12 12 1 -3 4 25 4 24 24 3 -3 4 26 4 8 8 1 -3 4 26 4 12 12 1 -3 4 26 4 24 24 3 -3 4 27 4 8 8 1 -3 4 27 4 11 11 3 -3 4 27 4 12 12 1 -3 4 27 4 24 24 3 -3 4 28 4 8 8 1 -3 4 28 4 12 12 1 -3 4 28 4 24 24 3 -3 4 29 3 12 12 1 -3 4 73 4 8 8 1 -3 4 73 4 12 12 1 -3 4 73 4 20 20 4 -3 4 73 4 24 24 3 -3 5 30 3 8 8 1 -3 5 30 3 12 12 1 -3 5 83 3 8 8 1 -3 5 83 3 12 12 1 -3 5 83 3 13 13 3 -3 7 37 3 8 8 1 -3 7 37 3 11 11 3 -3 7 37 3 12 12 1 -3 7 37 3 24 24 3 -3 7 40 3 8 8 1 -3 7 40 3 11 11 3 -3 7 40 3 12 12 1 -3 7 40 3 24 24 3 -3 7 41 3 8 8 1 -3 7 41 3 11 11 3 -3 7 41 3 12 12 1 -3 7 41 3 24 24 3 -3 7 42 2 12 12 1 -3 7 43 3 8 8 1 -3 7 43 3 12 12 1 -3 7 43 3 24 24 3 -3 7 44 3 8 8 1 -3 7 44 3 12 12 1 -3 7 44 3 24 24 3 -3 7 45 3 12 12 1 -3 7 45 3 13 13 3 -3 7 46 2 8 8 1 -3 7 46 2 24 24 3 -3 7 47 3 8 8 1 -3 7 47 3 12 12 1 -3 7 47 3 24 24 3 -3 7 49 3 8 8 1 -3 7 49 3 12 12 1 -3 7 49 3 24 24 3 -3 7 74 3 8 8 1 -3 7 74 3 11 11 3 -3 7 74 3 12 12 1 -3 7 74 3 24 24 3 -3 7 75 3 8 8 1 -3 7 75 3 12 12 1 -3 7 89 3 8 8 1 -3 7 89 3 12 12 1 -3 7 76 2 8 8 1 -3 7 76 2 12 12 1 -3 7 76 2 24 24 3 -3 7 86 3 8 8 1 -3 7 86 3 12 12 1 -3 7 86 3 24 24 3 -3 7 87 3 8 8 1 -3 7 87 3 12 12 1 -3 7 87 3 24 24 3 -3 8 50 3 8 8 1 -3 8 50 3 12 12 1 -3 8 50 3 24 24 3 -3 8 51 3 8 8 1 -3 8 51 3 12 12 1 -3 8 51 3 24 24 3 -3 8 52 3 8 8 1 -3 8 52 3 12 12 1 -3 8 52 3 24 24 3 -3 8 53 3 8 8 1 -3 8 53 3 12 12 1 -3 8 53 3 24 24 3 -3 8 54 3 8 8 1 -3 8 54 3 12 12 1 -3 8 54 3 24 24 3 -3 8 55 3 8 8 1 -3 8 55 3 12 12 1 -3 8 55 3 24 24 3 -3 8 56 5 8 8 1 -3 8 56 5 12 12 1 -3 8 56 5 24 24 3 -3 8 57 3 8 8 1 -3 8 57 3 12 12 1 -3 8 57 3 24 24 3 -3 8 77 3 8 8 1 -3 8 77 3 12 12 1 -3 8 77 3 13 13 3 -3 8 77 3 24 24 3 -3 8 78 3 8 8 1 -3 8 78 3 12 12 1 -3 8 78 3 24 24 3 -3 8 79 3 8 8 1 -3 8 79 3 12 12 1 -3 8 79 3 24 24 3 -3 9 58 2 12 12 1 -3 9 58 2 24 24 3 -3 10 60 2 8 8 1 -3 10 60 2 13 13 3 -3 10 61 2 8 8 1 -3 10 61 2 12 12 1 -3 10 62 2 8 8 1 -3 10 62 2 12 12 1 -3 10 64 2 8 8 1 -3 10 64 2 12 12 1 -3 10 64 2 13 13 3 -3 10 65 2 8 8 1 -3 10 65 2 12 12 1 -3 10 66 3 8 8 1 -3 10 66 3 12 12 1 -3 10 67 3 8 8 1 -3 10 67 3 12 12 1 -3 10 67 3 13 13 3 -3 10 68 3 8 8 1 -3 10 68 3 12 12 1 -3 10 68 3 13 13 3 -3 10 69 3 8 8 1 -3 10 69 3 12 12 1 -3 10 69 3 13 13 3 -3 10 70 3 8 8 1 -3 10 70 3 12 12 1 -3 10 70 3 13 13 3 -3 10 71 3 8 8 1 -3 10 71 3 12 12 1 -3 10 71 3 13 13 3 -3 10 72 3 12 12 1 -3 10 80 2 12 12 1 -3 10 81 3 8 8 1 -3 10 81 3 12 12 1 -3 10 84 3 8 8 1 -3 10 84 3 12 12 1 -3 10 85 2 8 8 1 -4 2 16 4 7 7 2 -4 2 16 4 9 9 1 -4 4 22 4 7 7 2 -4 4 22 4 9 9 1 -4 4 22 4 23 23 3 -4 4 22 4 25 25 2 -4 4 23 4 7 7 2 -4 4 23 4 9 9 1 -4 4 23 4 19 19 4 -4 4 23 4 23 23 3 -4 4 23 4 25 25 2 -4 4 24 4 7 7 2 -4 4 24 4 9 9 1 -4 4 24 4 23 23 3 -4 4 24 4 25 25 2 -4 4 25 4 7 7 2 -4 4 25 4 9 9 1 -4 4 25 4 23 23 3 -4 4 25 4 25 25 2 -4 4 26 4 4 4 3 -4 4 26 4 7 7 2 -4 4 26 4 9 9 1 -4 4 26 4 23 23 3 -4 4 26 4 25 25 2 -4 4 27 4 7 7 2 -4 4 27 4 9 9 1 -4 4 27 4 23 23 3 -4 4 27 4 25 25 2 -4 4 28 4 4 4 3 -4 4 28 4 7 7 2 -4 4 28 4 9 9 1 -4 4 28 4 17 17 2 -4 4 28 4 23 23 3 -4 4 28 4 25 25 2 -4 4 73 4 7 7 2 -4 4 73 4 9 9 1 -4 4 73 4 21 21 4 -4 4 73 4 23 23 3 -4 4 73 4 25 25 2 -4 8 56 5 9 9 1 -4 8 56 5 17 17 2 -5 1 1 3 3 3 4 -5 1 1 3 9 9 1 -5 1 1 3 14 14 2 -5 1 1 3 15 15 2 -5 1 1 3 16 16 4 -5 1 1 3 18 18 4 -5 1 1 3 25 25 3 -5 1 2 3 9 9 1 -5 1 2 3 14 14 2 -5 1 2 3 15 15 2 -5 1 2 3 21 21 4 -5 1 2 3 25 25 3 -5 1 3 3 9 9 1 -5 1 3 3 14 14 2 -5 1 3 3 15 15 2 -5 1 3 3 16 16 4 -5 1 3 3 18 18 4 -5 1 3 3 25 25 3 -5 1 4 3 3 3 4 -5 1 4 3 9 9 1 -5 1 4 3 15 15 2 -5 1 4 3 17 17 4 -5 1 4 3 19 19 4 -5 1 4 3 25 25 3 -5 1 5 3 9 9 1 -5 1 5 3 14 14 2 -5 1 5 3 15 15 2 -5 1 5 3 16 16 4 -5 1 5 3 18 18 4 -5 1 6 3 9 9 1 -5 1 6 3 14 14 2 -5 1 6 3 15 15 2 -5 1 6 3 16 16 4 -5 1 6 3 18 18 4 -5 1 7 3 9 9 1 -5 1 7 3 14 14 2 -5 1 7 3 15 15 2 -5 1 7 3 21 21 4 -5 1 7 3 25 25 3 -5 2 8 2 3 3 4 -5 2 8 2 9 9 1 -5 2 13 2 9 9 1 -5 2 14 3 9 9 1 -5 2 15 2 9 9 1 -5 2 17 3 9 9 1 -5 2 18 3 9 9 1 -5 4 29 3 14 14 2 -5 4 29 3 15 15 2 -5 4 29 3 16 16 4 -5 4 29 3 18 18 4 -5 5 30 3 9 9 1 -5 5 83 3 9 9 1 -5 7 33 3 9 9 1 -5 7 33 3 14 14 2 -5 7 33 3 15 15 2 -5 7 33 3 25 25 3 -5 7 34 1 9 9 1 -5 7 34 1 25 25 3 -5 7 35 1 9 9 1 -5 7 35 1 25 25 3 -5 7 36 1 25 25 3 -5 7 37 3 9 9 1 -5 7 37 3 14 14 2 -5 7 37 3 25 25 3 -5 7 38 1 25 25 3 -5 7 39 1 9 9 1 -5 7 39 1 25 25 3 -5 7 40 3 9 9 1 -5 7 40 3 14 14 2 -5 7 40 3 25 25 3 -5 7 41 3 9 9 1 -5 7 41 3 14 14 2 -5 7 41 3 25 25 3 -5 7 42 2 9 9 1 -5 7 42 2 25 25 3 -5 7 43 3 9 9 1 -5 7 43 3 14 14 2 -5 7 43 3 25 25 3 -5 7 44 3 9 9 1 -5 7 44 3 14 14 2 -5 7 44 3 15 15 2 -5 7 44 3 16 16 4 -5 7 44 3 25 25 3 -5 7 45 3 9 9 1 -5 7 45 3 14 14 2 -5 7 45 3 15 15 2 -5 7 45 3 16 16 4 -5 7 46 2 9 9 1 -5 7 46 2 14 14 2 -5 7 46 2 25 25 3 -5 7 47 3 9 9 1 -5 7 47 3 14 14 2 -5 7 47 3 15 15 2 -5 7 47 3 25 25 3 -5 7 48 1 9 9 1 -5 7 48 1 25 25 3 -5 7 49 3 9 9 1 -5 7 49 3 14 14 2 -5 7 49 3 15 15 2 -5 7 49 3 25 25 3 -5 7 74 3 9 9 1 -5 7 74 3 14 14 2 -5 7 74 3 25 25 3 -5 7 75 3 9 9 1 -5 7 75 3 14 14 2 -5 7 89 3 9 9 1 -5 7 89 3 14 14 2 -5 7 76 2 9 9 1 -5 7 76 2 14 14 2 -5 7 76 2 25 25 3 -5 7 86 3 9 9 1 -5 7 86 3 14 14 2 -5 7 86 3 15 15 2 -5 7 86 3 25 25 3 -5 7 87 3 9 9 1 -5 7 87 3 14 14 2 -5 7 87 3 15 15 2 -5 7 87 3 25 25 3 -5 8 50 3 9 9 1 -5 8 50 3 14 14 2 -5 8 50 3 25 25 3 -5 8 51 3 9 9 1 -5 8 51 3 14 14 2 -5 8 51 3 25 25 3 -5 8 52 3 9 9 1 -5 8 52 3 14 14 2 -5 8 52 3 25 25 3 -5 8 53 3 9 9 1 -5 8 54 3 9 9 1 -5 8 55 3 9 9 1 -5 8 55 3 17 17 4 -5 8 55 3 25 25 3 -5 8 56 5 9 9 1 -5 8 56 5 17 17 4 -5 8 57 3 9 9 1 -5 8 57 3 14 14 2 -5 8 57 3 25 25 3 -5 8 77 3 9 9 1 -5 8 77 3 14 14 2 -5 8 77 3 15 15 2 -5 8 77 3 25 25 3 -5 8 78 3 9 9 1 -5 8 78 3 14 14 2 -5 8 78 3 25 25 3 -5 8 79 3 9 9 1 -5 8 79 3 14 14 2 -5 10 60 2 9 9 1 -5 10 61 2 9 9 1 -5 10 62 2 9 9 1 -5 10 64 2 9 9 1 -5 10 65 2 9 9 1 -5 10 66 3 9 9 1 -5 10 66 3 14 14 2 -5 10 66 3 15 15 2 -5 10 66 3 16 16 4 -5 10 67 3 9 9 1 -5 10 67 3 14 14 2 -5 10 68 3 9 9 1 -5 10 69 3 9 9 1 -5 10 69 3 14 14 2 -5 10 70 3 9 9 1 -5 10 70 3 14 14 2 -5 10 71 3 9 9 1 -5 10 71 3 14 14 2 -5 10 72 3 9 9 1 -5 10 72 3 14 14 2 -5 10 72 3 15 15 2 -5 10 80 2 9 9 1 -5 10 81 3 9 9 1 -5 10 81 3 14 14 2 -5 10 84 3 9 9 1 -5 10 84 3 14 14 2 -5 10 85 2 9 9 1 diff --git a/misc/generate_textdata/rawraw_data/10_compmeetnet_types_milieudrukken.yml b/misc/generate_textdata/rawraw_data/10_compmeetnet_types_milieudrukken.yml deleted file mode 100644 index b4b6aa31..00000000 --- a/misc/generate_textdata/rawraw_data/10_compmeetnet_types_milieudrukken.yml +++ /dev/null @@ -1,375 +0,0 @@ -..generic: - git2rdata: 0.2.1 - optimize: yes - NA string: NA - sorting: - - Comp_meetnet - - Typeklasse - - Vegcode - - Waterhuishoudingsklasse_2 - - Druk - - Milieudruk - - MaxMilieudrukkengroep - hash: fb27a2545de4c7334c143554fbdaed07b26b5799 - data_hash: 49572fd386eb3bf27a7c2e15295893f7cac0a091 -Comp_meetnet: - class: factor - labels: - - Atmosferisch meetnet - - Bodemmeetnet - - Grondwatermeetnet - - Oppervlaktewatermeetnet - - Inundatiemeetnet - index: - - 1 - - 2 - - 3 - - 4 - - 5 - ordered: no -Typeklasse: - class: factor - labels: - - Kust- en zilte habitats - - Kustduinen - - Binnenlandse duinen - - Zoete en brakke wateren - - Heiden - - Thermofiel struikgewas - - (Half-)natuurlijke graslanden - - Moerassen - - Rotsachtige habitats en grotten - - Bossen en struwelen - index: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - - 8 - - 9 - - 10 - ordered: no -Vegcode: - class: factor - labels: - - '1140' - - 1310_pol - - 1310_zk - - 1310_zv - - '1320' - - 1330_da - - 1330_hpr - - '2110' - - '2120' - - 2130_had - - 2130_hd - - '2150' - - '2160' - - '2170' - - '2180' - - 2190_a - - 2190_mp - - 2190_overig - - '2310' - - 2330_bu - - 2330_dw - - '3110' - - 3130_aom - - 3130_na - - '3140' - - '3150' - - '3160' - - '3260' - - '3270' - - '4010' - - '4030' - - '5130' - - '6120' - - 6210_hk - - 6210_sk - - 6230_ha - - 6230_hmo - - 6230_hn - - 6230_hnk - - 6410_mo - - 6410_ve - - 6430_bz - - 6430_hf - - 6430_hw - - 6430_mr - - 6510_hu - - 6510_hua - - 6510_huk - - 6510_hus - - 7140_base - - 7140_meso - - 7140_mrd - - 7140_oli - - '7150' - - '7210' - - '7220' - - '7230' - - '8310' - - '9110' - - '9120' - - 9130_end - - 9130_fm - - '9150' - - '9160' - - '9190' - - 91E0_sf - - 91E0_va - - 91E0_vc - - 91E0_vm - - 91E0_vn - - 91E0_vo - - 91F0 - - rbbah - - rbbha - - rbbhc - - rbbhf - - rbbhfl - - rbbkam - - rbbmc - - rbbmr - - rbbms - - rbbppm - - rbbsf - - rbbsg - - rbbsm - - rbbso - - rbbsp - - rbbvos - - rbbzil - index: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - - 8 - - 9 - - 10 - - 11 - - 12 - - 13 - - 14 - - 15 - - 16 - - 17 - - 18 - - 19 - - 20 - - 21 - - 22 - - 23 - - 24 - - 25 - - 26 - - 27 - - 28 - - 29 - - 30 - - 31 - - 32 - - 33 - - 34 - - 35 - - 36 - - 37 - - 38 - - 39 - - 40 - - 41 - - 42 - - 43 - - 44 - - 45 - - 46 - - 47 - - 48 - - 49 - - 50 - - 51 - - 52 - - 53 - - 54 - - 55 - - 56 - - 57 - - 58 - - 59 - - 60 - - 61 - - 62 - - 63 - - 64 - - 65 - - 66 - - 67 - - 68 - - 69 - - 70 - - 71 - - 72 - - 73 - - 88 - - 74 - - 75 - - 89 - - 76 - - 77 - - 78 - - 79 - - 80 - - 81 - - 82 - - 83 - - 84 - - 85 - - 86 - - 87 - ordered: no -Waterhuishoudingsklasse_2: - class: factor - labels: - - Droog tot vochtig - - Droog tot vochtig + Tijdelijk tot permanent nat - - Tijdelijk tot permanent nat - - Tijdelijk tot permanent nat + Oppervlaktewater - - Oppervlaktewater - index: - - 1 - - 2 - - 3 - - 5 - - 4 - ordered: no -Druk: - class: factor - labels: - - Druk101 - - Druk102 - - Druk103 - - Druk12 - - Druk13 - - Druk3.1 - - Druk3.2 - - Druk3.3 - - Druk3.4 - - Druk4.1 - - Druk4.2 - - Druk5.1 - - Druk5.2 - - Druk61 - - Druk62 - - Druk63 - - Druk64 - - Druk65 - - Druk66 - - Druk7.1 - - Druk7.2 - - Druk8.1 - - Druk8.2 - - Druk8.3 - - Druk8.4 - index: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - - 8 - - 9 - - 10 - - 11 - - 12 - - 13 - - 14 - - 15 - - 16 - - 17 - - 18 - - 19 - - 20 - - 21 - - 22 - - 23 - - 24 - - 25 - ordered: no -Milieudruk: - class: factor - labels: - - 101 Klimaatverandering in droge perioden - - 102 Klimaatverandering in natte perioden - - '103 Klimaatverandering: zeespiegelstijging' - - 12 Toename bodemdynamiek (erosie, omwoeling, verstuiving) - - 13 Afname bodemdynamiek (erosie, omwoeling, verstuiving) - - 3.1 Eutrofiëring via de lucht - - 3.2 Eutrofiëring via de bodem - - 3.3 Eutrofiëring via het grondwater - - 3.4 Eutrofiëring via het oppervlaktewater (incl. overstromingswater en afspoeling) - - 4.1 Verzuring via de lucht - - 4.2 Verzuring via het grondwater - - 5.1 Verdroging via het grondwater - - 5.2 Vernatting via het grondwater - - 61 Toename overstromingsduur of -frequentie (incl. getijden) - - 62 Afname overstromingsduur of -frequentie (incl. getijden) - - 63 Toename van stroomsnelheid, waterpeil en/of de fluctuatie ervan - - 64 Afname van stroomsnelheid, waterpeil en/of de fluctuatie ervan - - 65 Toename golfslagwerking - - 66 Afname golfslagwerking - - 7.1 Verzoeting via het grondwater - - 7.2 Verzoeting via het oppervlaktewater (incl. overstromingswater) - - 8.1 Verontreiniging via de lucht - - 8.2 Verontreiniging via de bodem - - 8.3 Verontreiniging via het grondwater - - 8.4 Verontreiniging via het oppervlaktewater (incl. overstromingswater) - index: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - - 8 - - 9 - - 10 - - 11 - - 12 - - 13 - - 14 - - 15 - - 16 - - 17 - - 18 - - 19 - - 20 - - 21 - - 22 - - 23 - - 24 - - 25 - ordered: no -MaxMilieudrukkengroep: - class: factor - labels: - - a - - b - - c - - d - index: - - 1 - - 2 - - 3 - - 4 - ordered: no diff --git a/pkgdown/_pkgdown.yml b/pkgdown/_pkgdown.yml index c57dc628..d386368b 100644 --- a/pkgdown/_pkgdown.yml +++ b/pkgdown/_pkgdown.yml @@ -12,14 +12,10 @@ reference: contents: - read_types - read_env_pressures - - read_schemes - - read_scheme_types - title: "Documentation of included data sources" contents: - types - env_pressures - - schemes - - scheme_types - namelist - title: "Using the raw spatial data sources of habitats/RIBs" contents: diff --git a/vignettes/v010_reference_lists.Rmd b/vignettes/v010_reference_lists.Rmd index 88143f5e..0a39a6db 100644 --- a/vignettes/v010_reference_lists.Rmd +++ b/vignettes/v010_reference_lists.Rmd @@ -30,16 +30,11 @@ relevant to N2KHAB projects [^N2KHAB]: - `types`: checklist of types (habitat (sub)types and regionally important biotopes) (documentation links: [this website](../reference/types.html) / [installed package](../html/types.html)), represented by their *current* codes - `env_pressures`: checklist of environmental pressures, represented by codes (documentation links: [this website](../reference/env_pressures.html) / [installed package](../html/env_pressures.html)) -- `schemes`: list of schemes [^scheme] for N2KHAB monitoring programmes or other N2KHAB projects (documentation links: [this website](../reference/schemes.html) / [installed package](../html/schemes.html)) -- `scheme_types`: lists the types that belong to each N2KHAB scheme, and optionally defines typegroups within a scheme (documentation links: [this website](../reference/scheme_types.html) / [installed package](../html/scheme_types.html)) Additionally, `namelist` provides names and (optionally) shortnames for IDs/codes used in the above lists (documentation links: [this website](../reference/namelist.html) / [installed package](../html/namelist.html)). [^N2KHAB]: With N2KHAB projects, we mean scientific monitoring programmes and research projects regarding Flemish Natura 2000 habitats and regionally important biotopes (RIBs). -[^scheme]: A 'scheme' refers to a monitoring or research setup that determines which types (habitat/RIBs) are to be investigated for a question or for a bunch of related questions. - - ### More on list contents and package functionality @@ -87,22 +82,3 @@ read_env_pressures() ``` When actually using these reading functions, you will -- of course -- assign its result to an object. -E.g. with the `schemes` reference list: - -```{r} -schemes <- read_schemes() -schemes -``` - -The `read_scheme_types()` function provides the extra ability to _toggle_ the presence of most textual information, because these comprise many extra variables (combining all additional information of the concerned schemes _and_ the types). -This behaviour is controlled by the argument `extended`, which is `FALSE` by default. - -```{r} -read_scheme_types() -``` - -```{r} -read_scheme_types(extended = TRUE) -``` - -When you request all this extra information (some of which is currently empty), you will want to select the columns that you need with `dplyr::select()`.