dataRetrieval: Retrieval Functions for USGS and EPA Hydrologic and Water Quality Data

Collection of functions to help retrieve U.S. Geological Survey (USGS) and U.S. Environmental Protection Agency (EPA) water quality and hydrology data from web services. USGS web services are discovered from the National Water Information System (NWIS) tools. Both EPA and USGS water quality data are obtained from the Water Quality Portal.

Author
Robert Hirsch [aut], Laura DeCicco [aut, cre], David Lorenz [aut], Jordan Read [ctb], Lindsay Carr [ctb], David Watkins [aut]
Date of publication
2016-09-27 21:17:37
Maintainer
Laura DeCicco <ldecicco@usgs.gov>
License
CC0
Version
2.5.13
URLs

View on CRAN

Man pages

checkWQPdates
Date Check for Water Quality Portal
constructNWISURL
Construct NWIS url for data retrieval
constructUseURL
Construct URL for NWIS water use data service
constructWQPURL
Construct WQP url for data retrieval
countyCd
US County Code Lookup Table
countyCdLookup
County code look up
dataRetrieval-package
Retrieval functions for USGS and EPA data
getQuerySummary
getting header information from a WQP query
getWebServiceData
Function to return data from web services
importRDB1
Function to return data from the NWIS RDB 1.0 format
importWaterML1
Function to return data from the NWISWeb WaterML1.1 service
importWaterML2
Function to return data from the WaterML2 data
importWQP
Basic Water Quality Portal Data parser
parameterCdFile
List of USGS parameter codes
pCodeToName
Data to convert USGS parameter code to characteristic names
readNWISdata
General Data Import from NWIS
readNWISdv
Daily Value USGS NWIS Data Retrieval
readNWISgwl
Groundwater level measurements retrieval from USGS (NWIS)
readNWISmeas
Surface-water measurement data retrieval from USGS (NWIS)
readNWISpCode
USGS Parameter Data Retrieval
readNWISpeak
Peak flow data from USGS (NWIS)
readNWISqw
Raw Data Import for USGS NWIS QW Data
readNWISrating
Rating table for an active USGS streamgage retrieval
readNWISsite
USGS Site File Data Retrieval
readNWISstat
Site statistics retrieval from USGS (NWIS)
readNWISuse
Water use data retrieval from USGS (NWIS)
readNWISuv
Instantaneous value data retrieval from USGS (NWIS)
readWQPdata
General Data Import from Water Quality Portal
readWQPqw
Raw Data Import for Water Quality Portal
renameNWISColumns
renameColumns
setAccess
Set data endpoint
stateCd
US State Code Lookup Table
stateCdLookup
State code look up
whatNWISdata
USGS data availability
whatNWISsites
Site Data Import from NWIS
whatWQPsites
Site Data Import from Water Quality Portal
zeroPad
Pad string with leading zeros

Files in this package

dataRetrieval
dataRetrieval/inst
dataRetrieval/inst/CITATION
dataRetrieval/inst/extdata
dataRetrieval/inst/extdata/RDB1Example.txt
dataRetrieval/inst/extdata/temperatureAndFlow.RData
dataRetrieval/inst/extdata/WaterML2Example.xml
dataRetrieval/inst/extdata/WaterML1Example.xml
dataRetrieval/inst/extdata/infoTest.csv
dataRetrieval/inst/doc
dataRetrieval/inst/doc/dataRetrieval.Rnw
dataRetrieval/inst/doc/dataRetrieval.R
dataRetrieval/inst/doc/dataRetrieval.pdf
dataRetrieval/tests
dataRetrieval/tests/testthat.R
dataRetrieval/tests/testthat
dataRetrieval/tests/testthat/tests_general.R
dataRetrieval/tests/testthat/tests_imports.R
dataRetrieval/tests/testthat/tests_userFriendly_fxns.R
dataRetrieval/NAMESPACE
dataRetrieval/NEWS
dataRetrieval/R
dataRetrieval/R/getWebServiceData.R
dataRetrieval/R/importRDB1.r
dataRetrieval/R/constructNWISURL.r
dataRetrieval/R/zeroPad.r
dataRetrieval/R/readNWISdv.r
dataRetrieval/R/renameColumns.R
dataRetrieval/R/readNWISsite.r
dataRetrieval/R/sysdata.rda
dataRetrieval/R/importWaterML2.r
dataRetrieval/R/whatWQPsites.R
dataRetrieval/R/readNWISdata.r
dataRetrieval/R/readNWISqw.r
dataRetrieval/R/readNWISunit.r
dataRetrieval/R/whatNWISsites.R
dataRetrieval/R/importWQP.R
dataRetrieval/R/setAccess.R
dataRetrieval/R/importWaterML1.r
dataRetrieval/R/readWQPqw.r
dataRetrieval/R/whatNWISData.r
dataRetrieval/R/tabbedDataRetrievals.R
dataRetrieval/R/checkWQPdates.r
dataRetrieval/R/readWQPdata.R
dataRetrieval/R/readNWISpCode.r
dataRetrieval/R/AAA.R
dataRetrieval/vignettes
dataRetrieval/vignettes/dataRetrieval.Rnw
dataRetrieval/vignettes/table1.png
dataRetrieval/vignettes/functionOrg.png
dataRetrieval/vignettes/Rhelp.png
dataRetrieval/README.md
dataRetrieval/MD5
dataRetrieval/build
dataRetrieval/build/vignette.rds
dataRetrieval/DESCRIPTION
dataRetrieval/LICENSE.note
dataRetrieval/man
dataRetrieval/man/countyCdLookup.Rd
dataRetrieval/man/stateCd.Rd
dataRetrieval/man/readWQPdata.Rd
dataRetrieval/man/readNWISuse.Rd
dataRetrieval/man/readNWISpCode.Rd
dataRetrieval/man/constructNWISURL.Rd
dataRetrieval/man/whatNWISsites.Rd
dataRetrieval/man/importWaterML2.Rd
dataRetrieval/man/getQuerySummary.Rd
dataRetrieval/man/stateCdLookup.Rd
dataRetrieval/man/countyCd.Rd
dataRetrieval/man/getWebServiceData.Rd
dataRetrieval/man/readNWISqw.Rd
dataRetrieval/man/readNWISpeak.Rd
dataRetrieval/man/pCodeToName.Rd
dataRetrieval/man/importWQP.Rd
dataRetrieval/man/whatNWISdata.Rd
dataRetrieval/man/setAccess.Rd
dataRetrieval/man/readNWISstat.Rd
dataRetrieval/man/parameterCdFile.Rd
dataRetrieval/man/readWQPqw.Rd
dataRetrieval/man/importRDB1.Rd
dataRetrieval/man/readNWISuv.Rd
dataRetrieval/man/checkWQPdates.Rd
dataRetrieval/man/readNWISrating.Rd
dataRetrieval/man/readNWISsite.Rd
dataRetrieval/man/zeroPad.Rd
dataRetrieval/man/importWaterML1.Rd
dataRetrieval/man/dataRetrieval-package.Rd
dataRetrieval/man/readNWISgwl.Rd
dataRetrieval/man/constructWQPURL.Rd
dataRetrieval/man/renameNWISColumns.Rd
dataRetrieval/man/constructUseURL.Rd
dataRetrieval/man/readNWISdv.Rd
dataRetrieval/man/whatWQPsites.Rd
dataRetrieval/man/readNWISdata.Rd
dataRetrieval/man/readNWISmeas.Rd
dataRetrieval/.Rinstignore