eml_categorize_dataset | R Documentation |
Creates an annotation from the ADC Academic Disciplines ontology
here
and inserts the annotation into the EML document doc
while retaining any existing
annotations such as the sensitivity annotations. For a list of available disciplines,
see link above.
eml_categorize_dataset(doc, discipline)
doc |
(emld) An EML document |
discipline |
(character) One or more disciplines in title case from the ADCAD ontology. |
doc (emld) An EML document with annotation added
library(EML)
# read in any EML document
doc <- read_eml(system.file("extdata/strix-pacific-northwest.xml", package="dataone"))
# add the dataset categories
doc <- eml_categorize_dataset(doc, c("Soil Science", "Ecology"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.