eml_arcrc_add_annotation | R Documentation |
Creates an annotation from the Arctic Report Card ontology
here
and inserts the annotation into the EML document doc
while retaining any existing
annotations such as the sensitivity annotations or dataset categorization. For a
list of available essay topics or key variables, see link above.
eml_arcrc_add_annotation(doc, property, label)
doc |
(emld) An EML document |
property |
(character) One of two properties: "isAbout" for key variables or "influenced" for essay topics |
label |
(character) One or more labels 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_arcrc_add_annotation(doc, "isAbout", c("sea ice thickness", "sea surface temperature"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.