citeproc_writer {handlr} | R Documentation |
citeproc writer
Description
citeproc writer
Usage
citeproc_writer(z, auto_unbox = TRUE, pretty = TRUE, ...)
Arguments
z |
an object of class |
auto_unbox |
(logical) automatically "unbox" all atomic
vectors of length 1 (default: |
pretty |
(logical) adds indentation whitespace to JSON output
(default: |
... |
further params passed to |
Value
citeproc as JSON
See Also
Other writers:
bibtex_writer()
,
cff_writer()
,
codemeta_writer()
,
rdf_xml_writer()
,
ris_writer()
,
schema_org_writer()
Other citeproc:
citeproc_reader()
Examples
z <- system.file('extdata/citeproc.json', package = "handlr")
(tmp <- citeproc_reader(z))
citeproc_writer(z = tmp)
citeproc_writer(z = tmp, pretty = FALSE)
cat(ris_writer(z = tmp))
# many
z <- system.file('extdata/citeproc-many.json', package = "handlr")
w <- citeproc_reader(x = z)
citeproc_writer(w)
[Package handlr version 0.3.0 Index]