# Retrieval Functions for USGS and EPA Hydrology and Water Quality Data

## Documentation for package ‘dataRetrieval’ version 2.7.25

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

addWaterYear | add a water year column
calcWaterYear | Extract WY from a date
checkWQPdates | Date Check for Water Quality Portal
check_waterdata_sample_params | Check values from codeservice
constructNWISURL | Construct NWIS url for data retrieval
constructWQPURL | Construct WQP url for data retrieval
countyCd | US County Code Lookup Table
countyCdLookup | US county code look up
create_NWIS_bib | Create NWIS data citation
create_WQP_bib | Create WQP data citation
findNLDI | R Client for the Network Linked Data Index
getQuerySummary | getting header information from a WQP query
getWebServiceData | Function to return data from web services
get_nldi_sources | Get current NLDI offerings
get_ogc_params | Get parameter descriptions
importNGWMN | Function to return data from the National Ground Water Monitoring Network waterML2 format
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
is_dataRetrieval_user | Is this a dataRetrieval user
parameterCdFile | List of USGS parameter codes
parse_WQP | Convert WQP columns to correct types
pcode_to_name | Parameter code to characteristic name
readNGWMNdata | Import data from the National Groundwater Monitoring Network.
readNGWMNlevels | Retrieve groundwater levels from the National Ground Water Monitoring Network.
readNGWMNsites | Retrieve site data from the National Ground Water Monitoring Network.
readNWISdata | General Data Import from NWIS
readNWISdv | Daily Value USGS NWIS Data Retrieval
readNWISpCode | USGS Parameter Data Retrieval
readNWISpeak | Peak flow data from USGS (NWIS)
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
readWQPsummary | Summary of Data Available from Water Quality Portal
read_waterdata | Generalized USGS Water Data API retrieval function
read_waterdata_channel | Get USGS Channel Measurements
read_waterdata_combined_meta | Get USGS Monitoring Location Metadata
read_waterdata_continuous | Get Continuous USGS Water Data
read_waterdata_daily | Get USGS Daily Data
read_waterdata_field_measurements | Get USGS Field Measurement Water Data
read_waterdata_field_meta | Get USGS Field Measurement Metadata
read_waterdata_latest_continuous | Get Latest Continuous USGS Water Data
read_waterdata_latest_daily | Get Latest USGS Daily Data
read_waterdata_metadata | Generalized USGS Water Meta Data API retrieval function
read_waterdata_monitoring_location | Get USGS Monitoring Location Data
read_waterdata_parameter_codes | Get USGS Parameter Code Information
read_waterdata_peaks | Get USGS Peak Data
read_waterdata_ratings | Get USGS Rating Curve Data
read_waterdata_samples | USGS Samples Data
read_waterdata_stats_daterange | Get USGS daily data statistics
read_waterdata_stats_por | Get USGS daily data statistics
read_waterdata_ts_meta | Get USGS Time Series Metadata
renameNWISColumns | renameColumns
setAccess | Set data endpoint
stateCd | US State Code Lookup Table
stateCdLookup | State code look up
summarize_USGS_samples | USGS Samples Summary Data
summarize_waterdata_samples | USGS Samples Summary Data
whatNWISdata | USGS data availability
whatNWISsites | Site Data Import from NWIS
whatWQPdata | Data Available from Water Quality Portal
whatWQPmetrics | Site Data Import from Water Quality Portal
whatWQPsamples | Site Data Import from Water Quality Portal
whatWQPsites | Site Data Import from Water Quality Portal
wqp_check_status | Get WQP service metadata
zeroPad | Pad string with leading zeros