create_NWIS_bib {dataRetrieval} | R Documentation |
Create NWIS data citation
Description
Uses attributes from the NWIS functions to create data citations.
Usage
create_NWIS_bib(x)
Arguments
x |
Any data returned from an NWIS function, must include "queryTime" and "url" attributes, which should come with the data by default. |
Details
See ?bibentry
for more information.
Value
bibentry object to use for citing the data.
Examples
nwisData <- readNWISdv("04085427", "00060", "2012-01-01", "2012-06-30")
nwis_citation <- create_NWIS_bib(nwisData)
nwis_citation
print(nwis_citation, style = "Bibtex")
print(nwis_citation, style = "citation")
[Package dataRetrieval version 2.7.16 Index]