# \donttest{
# Fetching collections and items from default group
zotero = Zotero(
user = FALSE,
id = "4827927",
api = "RqlAmlH5l1KPghfCseAq1sQ1",
library = TRUE
)
# Display collections
if (any(nrow(zotero$collections))) {
zotero$collections |>
dplyr::select(key, version, parentCollection) |>
print(width = 80)
}
# Display items
if (any(nrow(zotero$items))) {
zotero$items |>
dplyr::select(key, version) |>
print(width = 80)
}
# Copy items
example <- ZoteroCopy(
zotero,
)
# Display collections
if (any(nrow(example$collections))) {
example$collections |>
dplyr::select(key, version, parentCollection) |>
print(width = 80)
}
# Display items
if (any(nrow(example$items))) {
example$items |>
dplyr::select(key, version) |>
print(width = 80)
}
# }
Run the code above in your browser using DataLab