header_tag.html

Skip to contents

This function creates the call and gets the data for discrete water quality samples summary data service described at https://api.waterdata.usgs.gov/samples-data/docs.

Usage

summarize_USGS_samples(monitoringLocationIdentifier)

Arguments

monitoringLocationIdentifier

A monitoring location identifier has two parts, separated by a dash (-): the agency code and the location number. Location identifiers should be separated with commas, for example: AZ014-320821110580701, CAX01-15304600, USGS-040851385. Location numbers without an agency prefix are assumed to have the prefix USGS.

Value

data frame with summary of data available based on the monitoringLocationIdentifier

Examples


# \donttest{
monitoringLocationIdentifier <- "USGS-04074950"

what_data <- summarize_USGS_samples(monitoringLocationIdentifier)
#> Function in development, use at your own risk.
#> GET:https://api.waterdata.usgs.gov/samples-data/summary/USGS-04074950?mimeType=text%2Fcsv

# }