Public library

“I think the health of our civilization, the depth of our awareness about the underpinnings of our culture and our concern for the future can all be tested by how well we support our libraries” (Sagan, 1980, p. 282).

I love libraries. I also love meta-libraries. Currently, there exists no adequate way to browse public Zotero libraries, however, you may search groups at the Zotero website.

In the following example, we will harvest the items stored in such a public Zotero group. Also, please see the magnificent vignette and other documentation.

# Setup
library(c2z)

# Query public library
example <- Zotero(
  user = FALSE, 
  id = "4986462",
  api = NA,
  library = TRUE,
  index = TRUE
)
#> Searching for collections 
#> Found 0 collections 
#> Searching for all items in library 
#> Found 3 items 
#> The Zotero list contains: 0 collections, 3 items, and 0 attachments 
#> Creating index for items

# Select only names in index and print
example$index |> 
  dplyr::select(name) |>
  print(width = 80)
#> # A tibble: 3 × 1
#>   name                                                                          
#>   <chr>                                                                         
#> 1 Forrest (2008) Alien Abduction: A Medical Hypothesis                          
#> 2 United States (1995) Roswell Report: Fact versus Fiction in the New Mexico De…
#> 3 Brown (2007) They Know Us Better Than We Know Ourselves: the History and Poli…

References

Sagan, C. (1980). Cosmos. Ballantine Books.