readDCEntry {atom4R} | R Documentation |
readDCEntry
is a function to read a DC XML entry from a file
or url into an object in the atom4R model.
readDCEntry(file, url, raw)
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 |
a atom4R object inheriting DCEntry
Emmanuel Blondel, emmanuel.blondel1@gmail.com
dcfile <- paste0(
"https://raw.githubusercontent.com/eblondel/atom4R/master/",
"inst/extdata/examples/zenodo_dc_export.xml"
)
dc <- readDCEntry(dcfile)