inbo / n2khab

R package with preprocessing functions and standard reference data for Flemish Natura 2000 (N2K) habitat (HAB) analyses
https://inbo.github.io/n2khab
GNU General Public License v3.0
2 stars 1 forks source link

scheme_types: add typegroups for GW_05.1_aq #150

Closed florisvdh closed 3 years ago

florisvdh commented 3 years ago

This classifies the types in typegroups, used in scheme GW_05.1_aq:

suppressPackageStartupMessages({
    library(n2khab)
    library(dplyr)
})

read_scheme_types() %>% 
    filter(scheme == "GW_05.1_aq") %>% 
    distinct(across(-c(scheme, type))) %>% 
    arrange(typegroup) %>% 
    knitr::kable()
typegroup typegroup_name typegroup_shortname
GW_05.1_aq_group1 types from springbrooks springbrooks
GW_05.1_aq_group2 lentic types with stable groundwater table lentic with stable groundwater
GW_05.1_aq_group3 types from lowland rivers lowland rivers
GW_05.1_aq_group4 types from dune lakes (moderate groundwater dynamics) dune lakes
GW_05.1_aq_group5 types from softwater lakes with dynamic groundwater table dynamic softwater lakes
read_scheme_types(lang = "nl") %>% 
    filter(scheme == "GW_05.1_aq") %>% 
    distinct(across(-c(scheme, type))) %>% 
    arrange(typegroup) %>% 
    knitr::kable()
typegroup typegroup_name typegroup_shortname
GW_05.1_aq_group1 types van bronbeken bronbeken
GW_05.1_aq_group2 types van stilstaand water met stabiel grondwaterregime plassen stabiel grondwater
GW_05.1_aq_group3 types van laaglandrivieren laaglandrivieren
GW_05.1_aq_group4 types van duinplassen (middelmatig grondwaterregime) duinplassen
GW_05.1_aq_group5 types van vennen met dynamisch grondwaterregime dynamische vennen
read_scheme_types() %>% 
    filter(scheme == "GW_05.1_aq") %>% 
    select(type, typegroup) %>% 
    knitr::kable()
type typegroup
2190_a GW_05.1_aq_group4
3110 GW_05.1_aq_group5
3130_aom GW_05.1_aq_group5
3130_na GW_05.1_aq_group5
3140 GW_05.1_aq_group2
3150 GW_05.1_aq_group2
3160 GW_05.1_aq_group2
3260 GW_05.1_aq_group3
rbbah GW_05.1_aq_group2
7220 GW_05.1_aq_group1

Created on 2021-08-13 by the reprex package (v2.0.0)

florisvdh commented 3 years ago

New state:

suppressPackageStartupMessages({
    library(n2khab)
    library(dplyr)
})

read_scheme_types() %>% 
    filter(scheme == "GW_05.1_aq") %>% 
    distinct(across(-c(scheme, type))) %>% 
    arrange(typegroup) %>% 
    knitr::kable()
typegroup typegroup_name typegroup_shortname
GW_05.1_aq_group1 types from spring-fed brooks spring-fed brooks
GW_05.1_aq_group2 types from lakes with stable groundwater table stable lakes
GW_05.1_aq_group3 types from lowland rivers lowland rivers
GW_05.1_aq_group4 types from dune lakes (moderate groundwater dynamics) dune lakes
GW_05.1_aq_group5 types from softwater lakes with dynamic groundwater table dynamic softwater lakes
read_scheme_types(lang = "nl") %>% 
    filter(scheme == "GW_05.1_aq") %>% 
    distinct(across(-c(scheme, type))) %>% 
    arrange(typegroup) %>% 
    knitr::kable()
typegroup typegroup_name typegroup_shortname
GW_05.1_aq_group1 types van bronbeken bronbeken
GW_05.1_aq_group2 types van stilstaand water met stabiel grondwaterregime stabiele plassen
GW_05.1_aq_group3 types van laaglandbeken laaglandbeken
GW_05.1_aq_group4 types van duinplassen (middelmatig grondwaterregime) duinplassen
GW_05.1_aq_group5 types van vennen met dynamisch grondwaterregime dynamische vennen
read_scheme_types() %>% 
    filter(scheme == "GW_05.1_aq") %>% 
    select(type, typegroup) %>% 
    knitr::kable()
type typegroup
2190_a GW_05.1_aq_group4
3110 GW_05.1_aq_group5
3130_aom GW_05.1_aq_group5
3130_na GW_05.1_aq_group5
3140 GW_05.1_aq_group2
3150 GW_05.1_aq_group2
3160 GW_05.1_aq_group2
3260 GW_05.1_aq_group3
rbbah GW_05.1_aq_group2
7220 GW_05.1_aq_group1

Created on 2021-09-23 by the reprex package (v2.0.1)