ZoteroDelete {c2z}R Documentation

Delete collections and items from a Zotero library

Description

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/

Value

A list with information on the specified Zotero library (e.g., deleted collections and items)

See Also

add_headers, RETRY

Examples


  # Delete everything in a group
  example <- ZoteroDelete(
    Zotero(
      user = FALSE,
      id = "4988497",
      api = "RqlAmlH5l1KPghfCseAq1sQ1"
    ),
    ragnarok = TRUE,
    force = TRUE
  )


[Package c2z version 0.2.0 Index]