View source: R/read_waterdata_samples.R
| summarize_waterdata_samples | R Documentation |
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.
summarize_waterdata_samples(monitoringLocationIdentifier)
summarize_USGS_samples(monitoringLocationIdentifier)
monitoringLocationIdentifier |
A single monitoring location identifier with two parts, separated by a dash (-): the agency code and the location number. Examples: USGS-040851385, AZ014-320821110580701, CAX01-15304600. The summary service accepts only one site at a time; supplying a vector of length > 1 raises an error. The agency prefix is required: bare location numbers (e.g. "040851385") are accepted by the service but return an empty result. |
data frame with summary of data available based on the monitoringLocationIdentifier
monitoringLocationIdentifier <- "USGS-04074950"
what_data <- summarize_waterdata_samples(monitoringLocationIdentifier)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.