% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/read_waterdata_samples.R
\name{summarize_waterdata_samples}
\alias{summarize_waterdata_samples}
\alias{summarize_USGS_samples}
\title{USGS Samples Summary Data}
\usage{
summarize_waterdata_samples(monitoringLocationIdentifier)

summarize_USGS_samples(monitoringLocationIdentifier)
}
\arguments{
\item{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.}
}
\value{
data frame with summary of data available based on the monitoringLocationIdentifier
}
\description{
This function creates the call and gets the data for discrete water quality samples summary data
service described at \url{https://api.waterdata.usgs.gov/samples-data/docs}.
}
\examples{
\dontshow{if (is_dataRetrieval_user()) withAutoprint(\{ # examplesIf}

\donttest{
monitoringLocationIdentifier <- "USGS-04074950"

what_data <- summarize_waterdata_samples(monitoringLocationIdentifier)

}
\dontshow{\}) # examplesIf}
}
