header_tag.html

Skip to contents

National Water Information System (NWIS)

Functions to retrieve (USGS) NWIS data.

readNWISdv()
Daily Value USGS NWIS Data Retrieval
readNWISuv()
Instantaneous value data retrieval from USGS (NWIS)
readNWISsite()
USGS Site File Data Retrieval
readNWISstat()
Site statistics retrieval from USGS (NWIS)
readNWISmeas()
Surface-water measurement data retrieval from USGS (NWIS)
readNWISpCode()
USGS Parameter Data Retrieval
readNWISrating()
Rating table for an active USGS streamgage retrieval
readNWISpeak()
Peak flow data from USGS (NWIS)
readNWISgwl()
Groundwater level measurements retrieval from USGS (NWIS)
readNWISuse()
Water use data retrieval from USGS (NWIS)
readNWISdata()
General Data Import from NWIS
whatNWISsites()
Site Data Import from NWIS
whatNWISdata()
USGS data availability

Water Quality Portal (WQP)

Functions to retrieve WQP data.

readWQPqw()
Raw Data Import for Water Quality Portal
readWQPdata()
General Data Import from Water Quality Portal
whatWQPsamples() whatWQPmetrics() whatWQPsites()
Site Data Import from Water Quality Portal
whatWQPdata()
Data Available from Water Quality Portal
readWQPsummary()
Summary of Data Available from Water Quality Portal
wqp_check_status()
Get WQP service metadata

National Ground-Water Monitoring Network

Functions to retrieve NGWMN data.

readNGWMNlevels()
Retrieve groundwater levels from the National Ground Water Monitoring Network.
readNGWMNsites()
Retrieve site data from the National Ground Water Monitoring Network.
readNGWMNdata()
Import data from the National Groundwater Monitoring Network.

Network Linked Data Index

Functions to interface with the NLDI.

findNLDI()
R Client for the Network Linked Data Index
get_nldi_sources()
Get current NLDI offerings

Import data

Functions to import different data formats

importRDB1()
Function to return data from the NWIS RDB 1.0 format
importNGWMN()
Function to return data from the National Ground Water Monitoring Network waterML2 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

Helper functions

create_NWIS_bib()
Create NWIS data citation
create_WQP_bib()
Create WQP data citation
calcWaterYear()
Extract WY from a date
addWaterYear()
add a water year column
renameNWISColumns()
renameColumns
setAccess()
Set data endpoint
countyCdLookup()
County code look up
stateCdLookup()
State code look up
countyCd
US County Code Lookup Table
parameterCdFile
List of USGS parameter codes
stateCd
US State Code Lookup Table
zeroPad()
Pad string with leading zeros
dataRetrieval dataRetrieval-package
Retrieval functions for USGS and EPA data
pcode_to_name()
Parameter code to characteristic name
parse_WQP()
Convert WQP columns to correct types

Web query utilities

Functions to create web queries

constructNWISURL()
Construct NWIS url for data retrieval
constructUseURL()
Construct URL for NWIS water use data service
constructWQPURL()
Construct WQP url for data retrieval
getQuerySummary()
getting header information from a WQP query
getWebServiceData()
Function to return data from web services
is_dataRetrieval_user()
Is this a dataRetrieval user
checkWQPdates()
Date Check for Water Quality Portal