gbif_citation {rgbif} | R Documentation |
Get citation for datasets used
Description
Get citation for datasets used
Usage
gbif_citation(x)
Arguments
x |
(character) Result of call to |
Details
The function is deprecated for use with occ_search()
and occ_data()
results, and is deprecated for use with datasetKeys and gbifids. Instead,
we encourage you to use derived_dataset()
instead.
occ_download_get()
and occ_download_meta()
results are still supported.
Value
list with S3 class assigned, used by a print method to pretty print citation information. Though you can unclass the output or just index to the named items as needed.
Examples
## Not run:
# Downloads
## occ_download_get()
# d1 <- occ_download(pred("country", "BG"), pred_gte("year", 2020))
# occ_download_meta(d1) # wait until status = succeeded
# d1 <- occ_download_get(d1, overwrite = TRUE)
# gbif_citation(d1)
## occ_download_meta()
# key <- "0000122-171020152545675"
# res <- occ_download_meta(key)
# gbif_citation(res)
## End(Not run)
[Package rgbif version 3.8.0 Index]