inst/doc/c2z_public.R

## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## ----example------------------------------------------------------------------
# Setup
library(c2z)

# Query public library
example <- Zotero(
  user = FALSE, 
  id = "4986462",
  api = NA,
  library = TRUE,
  index = TRUE
)

# Select only names in index and print
example$index |> 
  dplyr::select(name) |>
  print(width = 80)

Try the c2z package in your browser

Any scripts or data that you put into this service are public.

c2z documentation built on Aug. 10, 2023, 9:06 a.m.