readDCEntry {atom4R} | R Documentation |
readDCEntry
Description
readDCEntry
is a function to read a DC XML entry from a file
or url into an object in the atom4R model.
Usage
readDCEntry(file, url, raw)
Arguments
file |
a valid file path, as object of class |
url |
a valid URL, as object of class |
raw |
indicates if the function should return the raw XML. By
default this is set to |
Value
a atom4R object inheriting DCEntry
Author(s)
Emmanuel Blondel, emmanuel.blondel1@gmail.com
Examples
dcfile <- paste0(
"https://raw.githubusercontent.com/eblondel/atom4R/master/",
"inst/extdata/examples/zenodo_dc_export.xml"
)
dc <- readDCEntry(dcfile)
[Package atom4R version 0.3-3 Index]