as_emld
From emld v0.2.0
by Carl Boettiger
Coerce an EML file or object into an emld object.
Coerce an EML file or object into an emld object.
Usage
as_emld(x, from = c("guess", "xml", "json", "list"))
Arguments
- x
path to an EML file
- from
explicit type for the input format. By default, will attempt to guess the format, but it always safer to specify the input format. This is essential for literal text strings or raw vectors where the type cannot be guessed by the R object class or file extension of the input.
Value
an emld object
Examples
# NOT RUN {
hf205 <- system.file("extdata/hf205.xml", package="emld")
as_emld(hf205)
# }
Community examples
Looks like there are no examples yet.