eml_view {EML}R Documentation

View an EML

Description

View an EML

Usage

eml_view(eml_path, ...)

Arguments

eml_path

Path to the EML one wants to view

...

additional arguments to read_xml

Details

The function needs the listviewer package which you can install from CRAN via install.packages("listviewer")). The function uses listviewer::jsonedit which gives a crude but useful viewing of the EML

Value

Nothing, the EML is viewed in the Viewer.

Examples

f <- system.file("xsd/test", "eml-datasetWithUnits.xml", package = "EML")
eml_view(f)
 f <- system.file("xsd/test", "eml.xml", package = "EML")
 eml_view(f)
 f <- system.file("xsd/test", "eml-sample.xml", package = "EML")
 eml_view(f)
 f <- system.file("xsd/test", "eml-datasetWithCitation.xml", package = "EML")
 eml_view(f)
 f <- system.file("examples", "example-eml-2.1.0.xml", package = "EML")
 eml_view(f)

[Package EML version 1.0.3 Index]