Skip to contents

RDF XML writer

Usage

rdf_xml_writer(z, ...)

Arguments

z

an object of class handl; see handl for more

...

further params passed to jsonld::jsonld_to_rdf()

Value

RDF XML

Details

package jsonld required for this 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