Learn R Programming

dataRetrieval (version 2.7.4)

whatWQPmetrics: Activity Metrics from Water Quality Portal

Description

Returns a list of sites from the Water Quality Portal web service. This function gets the data from: https://www.waterqualitydata.us. Arguments to the function should be based on https://www.waterqualitydata.us/webservices_documentation

Usage

whatWQPmetrics(...)

Arguments

see https://www.waterqualitydata.us/webservices_documentation for a complete list of options. A list of arguments can also be supplied.

Value

A data frame

Examples

Run this code
# NOT RUN {
type <- "Stream"
sites <- whatWQPmetrics(countycode="US:55:025",siteType=type)
lakeSites <- whatWQPmetrics(siteType = "Lake, Reservoir, Impoundment", statecode = "US:55")
# }

Run the code above in your browser using DataLab