Description Usage Arguments Value Examples
Translate factors into their meanings
1 | eml_translate_factors(df, eml, keep = FALSE, which_table = NULL)
|
df |
Data frame |
eml |
eml metadata |
keep |
Whether to keep the columns with codes. If FALSE, the meanings replace the factors previous codes. |
which_table |
for which table to retrieve the factors, if there are several tables (entityName) |
A data.frame with translated factors
1 2 3 4 | data("animals_eml")
data("animals_data")
eml_translate_factors(df = animals_data, eml = animals_eml, keep = FALSE)
eml_translate_factors(df = animals_data, eml = animals_eml, keep = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.