View source: R/citeproc_writer.R
citeproc_writer | R Documentation |
citeproc writer
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()
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.