eml_get

0th

Percentile

eml_get

eml_get

Usage
eml_get(x, element, from = "list", ...)
Arguments
x

an EML object or child/descendant object

element

name of the element to be extracted. If multiple occurrences are found, will extract all

from

explicit type for the input format. Possible values: "xml", "json", "list", or "guess" with "list" as the default.

...

additional arguments

Aliases
  • eml_get
Examples
# NOT RUN {
f <- system.file("tests", emld::eml_version(), "eml-datasetWithUnits.xml", package = "emld")
eml <- read_eml(f)
eml_get(eml, "physical")
eml_get(eml, "attributeList")

## The first argument need not be an "eml" class, it could be a child element; e.g.
eml_get(eml$dataset$dataTable, "physical")
# }
Documentation reproduced from package EML, version 2.0.4, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.