Package in construction for using EML (Ecological Metadata Language) in data analysis, currently only one function. For creating a new EML, see the rOpenSci EML
package. This package will take advantage from the fact that EML is machine readable to make some analysis steps easier. Any suggestion or contribution is welcome, but please note that this package has a code of conduct.
library("eml.tools") data("animals_eml") data("animals_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)
This is the case if the EML documents a database. In this case, we need to use the entityName of the table for which we want to perform the translation.
library("eml.tools") data("animals_db_eml") data("animals_data") animals_data eml_translate_factors(df = animals_data, eml = animals_db_eml, which_table = "english_animals", keep = FALSE) eml_translate_factors(df = animals_data, eml = animals_db_eml, which_table = "english_animals", keep = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.