Description Usage Arguments Value See Also Examples
View source: R/citeproc_writer.R
citeproc writer
1 | citeproc_writer(z, auto_unbox = TRUE, pretty = TRUE, ...)
|
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 |
citeproc as JSON
Other writers:
bibtex_writer()
,
cff_writer()
,
codemeta_writer()
,
rdf_xml_writer()
,
ris_writer()
,
schema_org_writer()
Other citeproc:
citeproc_reader()
1 2 3 4 5 6 7 8 9 10 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.