write_bib | R Documentation |
Writes a file of the chosen bibliography format
to path
with items
belonging to a Zotero user or group library, optionally limited to a
specific collection.
write_bib(
collection_key = NULL,
incl_children = TRUE,
path,
format = "bibtex",
modified_since = NULL,
...
)
collection_key |
Collection key,
see |
incl_children |
Whether or not to include child items from
sub-collections beneath the |
path |
Path to file. |
format |
Bibliographic data format used for export. One of:
For details, see the relevant Zotero documentation. |
modified_since |
Optional Zotero library version number. If the
Zotero library's content hasn't changed since the specified version
number, nothing will be written to |
... |
Other arguments passed to |
A character scalar of the Zotero Library items in the specified format
,
invisibly.
Note that it is of length 0
if the Zotero library's content
hasn't changed since the version number specified in modified_since
.
Otherwise it has a version
attribute set to the Zotero library version number returned
by the API.
See section Caching in zotero_api()
for further details.
Other Zotero items functions:
add_archive_url()
,
as_item_tibble()
,
items()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.