neon_citation: Generate the appropriate citation for your data
Description
Generate the appropriate citation for your data
Usage
neon_citation(product = NULL, download_date = Sys.Date(), dir = neon_dir())
Value
returns a utils::bibentry object, which can be used as text
or formatted for bibtex.
Arguments
product
A NEON productCode or list of product codes, see examples.
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 tools::R_user_dir()). This default also be configured by
setting the environmental variable NEONSTORE_HOME, see Sys.setenv or
Renviron.
Details
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.
neon_citation("DP1.10003.001")
## or the citation for all products in store:neon_citation()
## as bibtexformat(neon_citation("DP1.10003.001"), "bibtex")