get_citation
allows to get the styled citation for Zenodo record, identified by
its DOI or concept DOI, and the style name
get_citation(
doi,
sandbox = FALSE,
style = c("havard-cite-them-right", "apa", "modern-language-association", "vancouver",
"chicago-fullnote-bibliography", "ieee"),
logger = NULL
)
a Zenodo DOI or concept DOI
Use the sandbox infrastructure. Default is FALSE
the style character string among. Possible values "havard-cite-them-right", "apa", "modern-language-association","vancouver","chicago-fullnote-bibliography", or "ieee"
a logger to print messages. The logger can be either NULL, "INFO" (with minimum logs), or "DEBUG" (for complete curl http calls logs)
an object of class data.frame
giving the record versions
including date, version number and version-specific DOI.
the record citation
# \dontrun{
get_citation(doi = "10.5281/zenodo.2547036", style = "ieee")
#> ✔ Successfully fetched list of published records!
#> ! No record for DOI '10.5281/zenodo.2547036'!
#> ℹ Try to get deposition by Zenodo specific record id '2547036'
#> ✔ Successfully fetched list of published records!
#> ! No record for id '2547036'!
#> ℹ Successfully fetched list of published records - page 1
#> ✔ Successfully fetched list of published records!
#> ✔ Successfully fetched published record for concept DOI '10.5281/zenodo.2547036'!
#> No encoding supplied: defaulting to UTF-8.
#> [1] "[1]E. Blondel and J. Barde, “zen4R: R Interface to Zenodo REST API”. Zenodo, Jun. 18, 2025. doi: 10.5281/zenodo.15686902."
# }