collections: Fetch collection hierarchy

View source: R/collections.R

collectionsR Documentation

Fetch collection hierarchy

Description

Fetch all collections of a Zotero user or group library with their keys and keys of parent collections (if any).

Usage

collections(...)

Arguments

...

Further arguments passed on to zotero_api()

Value

A tibble with columns:

  • key: Collection key.

  • name: Collection name.

  • parent_key: Key of the parent collection (NA if no parent collection exists).

Note that the tibble 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.

Examples

collections(user = zotero_group_id(id = 197065))

mbojan/zoterro documentation built on Oct. 18, 2023, 12:10 p.m.