View source: R/get_eml_attributes.R
get_eml_attributes | R Documentation |
Return attribute metadata from an EML object. This is largely a
wrapper for the function EML::get_attributes()
.
get_eml_attributes(doc)
doc |
(emld) EML object. |
(list) A list of all attribute metadata from the EML in data.frame objects
Dominic Mullen, dmullen17@gmail.com
## Not run:
cn <- dataone::CNode('PROD')
mn <- dataone::getMNode(cn, 'urn:node:ARCTIC')
doc <- EML::read_eml(rawToChar(dataone::getObject(mn, "doi:10.18739/A23W02")))
attributes <- get_eml_attributes(doc)
# switch nodes
cn <- dataone::CNode('PROD')
knb <- dataone::getMNode(cn,"urn:node:KNB")
doc <- EML::read_eml(rawToChar(dataone::getObject(knb, "doi:10.5063/F1639MWV")))
attributes <- get_eml_attributes(doc)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.