View source: R/neon_citation.R
neon_citation | R Documentation |
Generate the appropriate citation for your data
neon_citation(product = NULL, download_date = Sys.Date(), dir = neon_dir())
product |
A NEON |
download_date |
Date of download to be included in citation. default is today's date, see details. |
dir |
Location where files should be downloaded. By default will
use the appropriate applications directory for your system
(see |
Note that the neon_download()
does not record download date for each file.
Citing a single product download date is after all rather meaningless, as
parts of a products may not have all been downloaded on different dates.
Indeed, neon_download()
is designed in precisely this way, to allow easy
updating of downloads without re-downloading older data.
returns a utils::bibentry object, which can be used as text or formatted for bibtex.
https://www.neonscience.org/data-samples/data-policies-citation
# may be slow
neon_citation("DP1.10003.001")
## or the citation for all products in store:
neon_citation()
## as bibtex
format(neon_citation("DP1.10003.001"), "bibtex")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.