species_codings {ForestElementsR} | R Documentation |
Supported Species Codings in the Package ForestElementsR
Description
Data of all supported species codings in the package
ForestElementsR
. Currently supported codings are
- master
The master species coding is the original species coding used by the package ForestElementsR. It contains each species from the
species_master_table
and no species groups. This coding corresponds directly to thespecies_master_table
. Its species_id's (see below) are the master table's columnsgenus
andspecies
combined into one character string, separated by an underscore.- tum_wwk_short
The tum_wwk_short species coding is one of two codings in use at the Chair of Forest Growth and Yield Science. It defines only a small set of single species explicitly (the most important ones in Central Europe), while all other species are attributed to a few large container groups.
- tum_wwk_long
The tum_wwk_long species coding is one of two codings in use at the Chair of Forest Growth and Yield Science. It defines a larger set of single species than the tum_wwk_short coding. In its original version, this coding contains several species groups, but most of these groups are ambiguous as they include species which also have a single coding. These ambiguous groups were not included in this package.
- bavrn_state
The bavrn_state species coding is the species coding used by the Bavarian State Forest Service.
- bavrn_state_short
The bavrn_state_short is a coding that combines the species of bavrn_state into groups. These groups are typically used by the Bavarian State Forest Service in aggregated evaluations.
- ger_nfi_2012
The ger_nfi_2012 species coding is the species coding used by the German National Forest Inventory of 2012 (Riedel et al. 2017)
Usage
species_codings
Format
A tibble containing the supported species codings together with the coding tables (which are tibbles themselves). Its columns are:
- species_coding
name of the coding
- code_table
tibble describing the species coding with the columns
- species_id
the species code (character)
- species_name_sci
the scientific species name (for species groups english terms are used)
- species_name_eng
English species names
- species_name_ger
German species names
References
Riedel T, Hennig P, Kroiher F, Polley H, Schmitz F, F. S (2017). Die dritte Bundeswaldinventur (BWI 2012). Inventur- und Auswertungsmethoden. Thuenen Institut fuer Waldoekosysteme.
Examples
# Get specific coding tables out of the data 'species_codings'
fe_species_get_coding_table("master")
fe_species_get_coding_table("tum_wwk_short")
fe_species_get_coding_table("tum_wwk_long")
fe_species_get_coding_table("bavrn_state")
fe_species_get_coding_table("bavrn_state_short")
fe_species_get_coding_table("ger_nfi_2012")
# Check number of species behind each code in a given coding
fe_species_get_coding_table("tum_wwk_short") |>
dplyr::group_by(species_id) |>
dplyr::summarise(n = dplyr::n()) |>
dplyr::arrange(as.numeric(species_id)) # just for the look of it
fe_species_get_coding_table("bavrn_state_short") |>
dplyr::group_by(species_id) |>
dplyr::summarise(n = dplyr::n()) |>
dplyr::arrange(as.numeric(species_id)) # just for the look of it