DoiCrossref {c2z} | R Documentation |
Wrangle CrossRef metadata into Zotero-type format
Description
Query CrossRef by DOI and fetch metadata
Usage
DoiCrossref(data, meta = list(), silent = TRUE, log = list())
Arguments
data |
XML data from CrossRef 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
# `DoiCrossref` is called from `ZoteroDoi` (if item found)
example <- ZoteroDoi("10.1126/sciadv.abd1705")
# Print index using `ZoteroIndex`
if (!is.null(example$data)) {
ZoteroIndex(example$data) |>
dplyr::select(name) |>
print(width = 80)
# Display catalog
example$data$libraryCatalog
}
[Package c2z version 0.2.0 Index]