Uses attributes from the WQP functions to create data citations.
Details
See ?bibentry
for more information.
Examples
# \donttest{
WQPData <- readWQPqw("USGS-05288705",
parameterCd = "00300")
#> GET: https://www.waterqualitydata.us/data/Result/search?siteid=USGS-05288705&pCode=00300&mimeType=csv
#> NEWS: Data does not include USGS data newer than March 11, 2024. More details:
#> https://doi-usgs.github.io/dataRetrieval/articles/Status.html
wqp_citation <- create_WQP_bib(WQPData)
wqp_citation
#> National Water Quality Monitoring Council (2024). _Water Quality
#> Portal_. doi:10.5066/P9QRKUVJ <https://doi.org/10.5066/P9QRKUVJ>,
#> Accessed Dec 03, 2024,
#> <https://www.waterqualitydata.us/data/Result/search?siteid=USGS-05288705&pCode=00300&mimeType=csv>.
print(wqp_citation, style = "Bibtex")
#> @Manual{,
#> title = {Water Quality Portal},
#> author = {{National Water Quality Monitoring Council}},
#> doi = {10.5066/P9QRKUVJ},
#> note = {Accessed Dec 03, 2024},
#> year = {2024},
#> url = {https://www.waterqualitydata.us/data/Result/search?siteid=USGS-05288705&pCode=00300&mimeType=csv},
#> }
print(wqp_citation, style = "citation")
#> National Water Quality Monitoring Council, 2024, Water Quality Portal,
#> accessed 12, 03, 2024,
#> https://www.waterqualitydata.us/data/Result/search?siteid=USGS-05288705&pCode=00300&mimeType=csv,
#> https://doi.org/10.5066/P9QRKUVJ.
#>
#> A BibTeX entry for LaTeX users is
#>
#> @Manual{,
#> title = {Water Quality Portal},
#> author = {{National Water Quality Monitoring Council}},
#> doi = {10.5066/P9QRKUVJ},
#> note = {Accessed Dec 03, 2024},
#> year = {2024},
#> url = {https://www.waterqualitydata.us/data/Result/search?siteid=USGS-05288705&pCode=00300&mimeType=csv},
#> }
# }