RDF XML writer
Arguments
- z
an object of class
handl
; see handl for more- ...
further params passed to
jsonld::jsonld_to_rdf()
See also
Other writers:
bibtex_writer()
,
cff_writer()
,
citeproc_writer()
,
codemeta_writer()
,
ris_writer()
,
schema_org_writer()
Examples
if (require("jsonld") && interactive()) {
library("jsonld")
z <- system.file('extdata/citeproc.json', package = "handlr")
(tmp <- citeproc_reader(z))
if (requireNamespace("bibtex", quietly=TRUE)) {
(z <- system.file('extdata/bibtex.bib', package = "handlr"))
(tmp <- bibtex_reader(z))
rdf_xml_writer(z = tmp)
cat(rdf_xml_writer(z = tmp))
}
}
#> Loading required package: jsonld
#> Warning: package ‘jsonld’ was built under R version 4.4.2