Cleaning the Zotero library
Usage
ZoteroDelete(
zotero,
delete.collections = FALSE,
delete.items = FALSE,
delete.limit = 50,
force = FALSE,
ragnarok = FALSE,
silent = FALSE
)
Arguments
- zotero
A list with information on the specified Zotero library (e.g., id, API key, collections, and items)
- delete.collections
Try to delete specified collections, Default: TRUE
- delete.items
Try to delete specified items?, Default: TRUE
- delete.limit
Number of collections/items to delete per request (max 50), Default: 50
- force
Force is seldom wise, but sometimes..., Default: FALSE
- ragnarok
Delete EVERYTHING in the specified library, Default: FALSE
- silent
c2z is noisy, tell it to be quiet, Default: FALSE
Details
Please see https://oeysan.github.io/c2z/
Examples
# \donttest{
# Delete everything in a group
example <- ZoteroDelete(
Zotero(
user = FALSE,
id = "4988497",
api = "RqlAmlH5l1KPghfCseAq1sQ1"
),
ragnarok = TRUE,
force = TRUE
)
#> There are no collections to DELETE
#> There are no items to DELETE
# }