Skip to contents

Download and save all items in a public Zotero group

Usage

zotero_download_and_export_items(
  group,
  file = zirconia::opts$get("biliographyName"),
  format = "bibtex",
  showKeys = TRUE
)

Arguments

group

The group ID

file

The filename to write to

format

The format to export

showKeys

Whether to show the keys

Value

The bibliography as a character vector

Examples

if (FALSE) { # \dontrun{
tmpFile <- tempfile(fileext=".bib");
zirconia::zotero_download_and_export_items(
  2425237,
  tmpFile
);
writtenBibliography <- readLines(tmpFile);
writtenBibliography[1:7];
} # }