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

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 National Water Information System (NWIS) and . Both EPA and USGS water quality data are obtained from the Water Quality Portal .

Browse man pages Browse package API and functions Browse package files

AuthorRobert Hirsch [aut], Laura DeCicco [aut, cre], David Lorenz [aut], Jordan Read [ctb], Jordan Walker [ctb], Lindsay Carr [ctb], David Watkins [aut]
Date of publication2017-05-23 04:40:42 UTC
MaintainerLaura DeCicco <ldecicco@usgs.gov>
LicenseCC0
Version2.7.2
URL https://pubs.usgs.gov/tm/04/a10/
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("dataRetrieval")

Man pages

addWaterYear: add a water year column
calcWaterYear: Extract WY from a date
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
convertLists: convert variables in dots to usable format
countyCd: US County Code Lookup Table
countyCdLookup: County code look up
dataRetrieval: Retrieval functions for USGS and EPA data
getQuerySummary: getting header information from a WQP query
getWebServiceData: Function to return data from web services
importNGWMN: Function to return data from the National Ground Water...
importRDB1: Function to return data from the NWIS RDB 1.0 format
importWaterML1: Function to return data from the NWISWeb WaterML1.1 service
importWaterML2: Parse the WaterML2 timeseries portion of a waterML2 file
importWQP: Basic Water Quality Portal Data parser
parameterCdFile: List of USGS parameter codes
pCodeToName: Data to convert USGS parameter code to characteristic names
readNGWMNdata: import data from the National Groundwater Monitoring Network...
readNGWMNlevels: Retrieve groundwater levels from the National Ground Water...
readNGWMNsites: Retrieve site data from the National Ground Water Monitoring...
readNWISdata: General Data Import from NWIS
readNWISdots: Format and organize NWIS arguments that are passed in as...
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
readWQPdots: Format and organize WQP arguments that are passed in as...
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
whatWQPdata: Data Available from Water Quality Portal
whatWQPmetrics: Activity Metrics from Water Quality Portal
whatWQPsamples: Sampling Activity Data Import from Water Quality Portal
whatWQPsites: Site Data Import from Water Quality Portal
zeroPad: Pad string with leading zeros

Functions

addWaterYear Man page Source code
appendDrURL Source code
calcWaterYear Man page Source code
capitalALL Source code
checkWQPdates Man page Source code
check_if_xml Source code
constructNWISURL Man page Source code
constructUseURL Man page Source code
constructWQPURL Man page Source code
convertLists Man page Source code
convertTZ Source code
countyCd Man page
countyCdLookup Man page Source code
dataRetrieval Man page
dataRetrieval-package Man page
default_ua Source code
drQueryArgs Source code
drURL Source code
fixErrors Source code
getQuerySummary Man page Source code
getWebServiceData Man page Source code
importNGWMN Man page Source code
importRDB1 Man page Source code
importWQP Man page Source code
importWaterML1 Man page Source code
importWaterML2 Man page Source code
onAttach Source code
onLoad Source code
pCodeToName Man page
parameterCdFile Man page
readNGWMNdata Man page Source code
readNGWMNlevels Man page Source code
readNGWMNsites Man page Source code
readNWISdata Man page Source code
readNWISdots Man page Source code
readNWISdv Man page Source code
readNWISgwl Man page Source code
readNWISmeas Man page Source code
readNWISpCode Man page Source code
readNWISpeak Man page Source code
readNWISqw Man page Source code
readNWISrating Man page Source code
readNWISsite Man page Source code
readNWISstat Man page Source code
readNWISuse Man page Source code
readNWISuv Man page Source code
readWQPdata Man page Source code
readWQPdots Man page Source code
readWQPqw Man page Source code
removeAttrs Source code
renameNWISColumns Man page Source code
retrieveFeatureOfInterest Source code
retrieveObservation Source code
retryGetOrPost Source code
saveAttrs Source code
setAccess Man page Source code
stateCd Man page
stateCdLookup Man page Source code
whatNWISdata Man page Source code
whatNWISsites Man page Source code
whatWQPdata Man page Source code
whatWQPmetrics Man page Source code
whatWQPsamples Man page Source code
whatWQPsites Man page Source code
zeroPad Man page Source code

Files

inst
inst/CITATION
inst/extdata
inst/extdata/RDB1Example.txt
inst/extdata/temperatureAndFlow.RData
inst/extdata/WaterML2Example.xml
inst/extdata/WaterML1Example.xml
inst/extdata/infoTest.csv
inst/doc
inst/doc/dataRetrieval.Rmd
inst/doc/dataRetrieval.R
inst/doc/dataRetrieval.html
tests
tests/testthat.R
tests/testthat
tests/testthat/tests_general.R
tests/testthat/rds
tests/testthat/rds/siteInfo.rds
tests/testthat/rds/emptyDV.rds
tests/testthat/rds/bBoxEx.rds
tests/testthat/rds/qwData.rds
tests/testthat/rds/multiSite.rds
tests/testthat/rds/waterYear.rds
tests/testthat/rds/dailyStat.rds
tests/testthat/rds/waterYearStat.rds
tests/testthat/tests_imports.R
tests/testthat/tests_userFriendly_fxns.R
NAMESPACE
NEWS
R
R/readWQPdots.R
R/getWebServiceData.R
R/importRDB1.r
R/constructNWISURL.r
R/addWaterYear.R
R/readNGWMNdata.R
R/zeroPad.r
R/readNWISdv.r
R/renameColumns.R
R/importNGWMN_wml2.R
R/readNWISsite.r
R/sysdata.rda
R/whatWQPsites.R
R/readNWISdata.r
R/readNWISqw.r
R/whatWQPdata.R
R/readNWISunit.r
R/whatNWISsites.R
R/importWQP.R
R/setAccess.R
R/importWaterML1.r
R/readWQPqw.r
R/whatNWISData.r
R/tabbedDataRetrievals.R
R/checkWQPdates.r
R/readWQPdata.R
R/readNWISpCode.r
R/AAA.R
vignettes
vignettes/dataRetrieval.Rmd
vignettes/table1.png
vignettes/functionOrg.png
vignettes/Rhelp.png
MD5
build
build/vignette.rds
DESCRIPTION
LICENSE.note
man
man/countyCdLookup.Rd
man/whatWQPdata.Rd
man/stateCd.Rd
man/readWQPdata.Rd
man/readNWISuse.Rd
man/readNWISpCode.Rd
man/constructNWISURL.Rd
man/calcWaterYear.Rd
man/whatNWISsites.Rd
man/convertLists.Rd
man/readNWISdots.Rd
man/importWaterML2.Rd
man/readNGWMNsites.Rd
man/readWQPdots.Rd
man/getQuerySummary.Rd
man/whatWQPsamples.Rd
man/stateCdLookup.Rd
man/countyCd.Rd
man/getWebServiceData.Rd
man/readNWISqw.Rd
man/readNWISpeak.Rd
man/pCodeToName.Rd
man/importWQP.Rd
man/whatNWISdata.Rd
man/setAccess.Rd
man/readNWISstat.Rd
man/parameterCdFile.Rd
man/readWQPqw.Rd
man/dataRetrieval.Rd
man/importRDB1.Rd
man/readNWISuv.Rd
man/whatWQPmetrics.Rd
man/checkWQPdates.Rd
man/readNWISrating.Rd
man/readNGWMNlevels.Rd
man/readNWISsite.Rd
man/zeroPad.Rd
man/importWaterML1.Rd
man/readNWISgwl.Rd
man/constructWQPURL.Rd
man/renameNWISColumns.Rd
man/importNGWMN.Rd
man/constructUseURL.Rd
man/readNWISdv.Rd
man/whatWQPsites.Rd
man/addWaterYear.Rd
man/readNWISdata.Rd
man/readNGWMNdata.Rd
man/readNWISmeas.Rd
.Rinstignore
dataRetrieval documentation built on May 23, 2017, 9:08 a.m.