zot_add_to_collection: Add item to a collection

Description Usage Arguments Value Examples

View source: R/edit_item.R

Description

Add item to a collection

Usage

1
2
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

1
item <- zot_add_to_collection(id = "<itemId>", collection_id = "<collection_id>")

giocomai/zoteroR documentation built on Feb. 23, 2020, 9:52 a.m.