Learn R Programming

ForestElementsR (version 2.0.1)

translate_spec_codes_into_names: Translate Species Codes into Names

Description

Translate Species Codes into Names

Usage

translate_spec_codes_into_names(x, spec_lang = c("eng", "ger", "sci"), coding)

Value

A character vector in the same order as x, containing the species (group names) in the desired language

Arguments

x

Object of one of the fe_species_id classes or a character vector

spec_lang

Choice of how species (group) names or id's are translated. Supported choices are "eng" (English species names, default), "ger" (Geman species names), and "sci" (scientific species names).

coding

Name of the coding against which x is to be checked. Must be one of the entries in the column species_coding in the data file species_codings