Skip to contents

The function creates a index containing key information about the present Zotero items

Usage

ZoteroIndex(data)

Arguments

data

Tibble containing Zotero-type metadata (e.g., from Cristin)

Value

A tibble

Details

Please see https://oeysan.github.io/c2z/

Examples

# \donttest{
  # Access the default group library
  example = Zotero(
    user = FALSE,
    id = "4827927",
    api = "RqlAmlH5l1KPghfCseAq1sQ1",
    library = TRUE
  )
#> Searching for collections 
#> Found 5 collections 
#> The Zotero list contains: 5 collections, 0 items, and 0 attachments 
#> Searching for all items in library 
#> Found 3 items 
#> The Zotero list contains: 5 collections, 3 items, and 0 attachments 
  # Print index using `ZoteroIndex`
  if (any(nrow(example$items))) {
  ZoteroIndex(example$items) |>
    dplyr::select(name) |>
    print(width = 80)
  }
#> # A tibble: 3 × 1
#>   name                                                                          
#>   <chr>                                                                         
#> 1 Mishra et al. (2023) Exploring Active and Critical Engagement in Human-Robot …
#> 2 Somby & Stalheim (2023) Vygotsky med VR-briller                               
#> 3 Somby & Vik (2023) Vygotskys defektologi - et perspektiv på inkluderende oppl…
# }