eml_view: View an EML

Description Usage Arguments Details Value Examples

View source: R/eml_view.R

Description

View an EML

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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)

clnsmth/EML103 documentation built on May 22, 2019, 5:32 p.m.