summarize_USGS_samples: USGS Samples Summary Data

View source: R/read_USGS_samples.R

summarize_USGS_samplesR Documentation

USGS Samples Summary Data

Description

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




monitoringLocationIdentifier <- "USGS-04074950"

what_data <- summarize_USGS_samples(monitoringLocationIdentifier)




USGS-R/dataRetrieval documentation built on March 1, 2025, 8:10 a.m.