DoiDatacite {c2z} | R Documentation |
Wrangle DataCite metadata into Zotero-type format
Description
Query DataCite by DOI and fetch metadata
Usage
DoiDatacite(data, meta = list(), silent = TRUE, log = list())
Arguments
data |
XML data from DataCite containing metadata |
meta |
A list collecting all metadata used to create , Default: list() |
silent |
c2z is noisy, tell it to be quiet, Default: TRUE |
log |
A list for storing log elements, Default: list() |
Details
Please see https://oeysan.github.io/c2z/
Value
A Zotero-type matrix (tibble)
Examples
# `DoiDatacite` is called from `ZoteroDoi` (if item found)
example <- ZoteroDoi("10.17605/OSF.IO/7HZ4P")
# Use `ZoteroIndex` to print
# Print index using `ZoteroIndex`
if (any(nrow(example$data))) {
ZoteroIndex(example$data) |>
dplyr::select(name) |>
print(width = 80)
# Display catalog
example$data$libraryCatalog
}
[Package c2z version 0.2.0 Index]