zot_add_to_collection: Add item to a collection

View source: R/edit_item.R

zot_add_to_collectionR Documentation

Add item to a collection

Description

Add item to a collection

Usage

zot_add_to_collection(id, collection_id, user = NULL, credentials = NULL)

Arguments

id

Id code of a zotero item

user

Zotero userId

credentials

Either an R object created with AuthZot(store = TRUE), or an API secret key with write access created at https://www.zotero.org/settings/keys

Value

A list including all available details on a given item.

Examples

## Not run: 
item <- zot_add_to_collection(id = "<itemId>", collection_id = "<collection_id>")

## End(Not run)

giocomai/zoteroR documentation built on June 12, 2025, 9:32 p.m.