Skip to contents

Get station summary information

Usage

data_available(siteID)

Arguments

siteID

character. USGS site ID for a groundwater site.

Examples

siteID <- "USGS-263819081585801"
site_data_available <- data_available(siteID)
#> Requesting:
#> https://api.waterdata.usgs.gov/ogcapi/v0/collections/time-series-metadata/items?f=json&lang=en-US&skipGeometry=TRUE&limit=10000&monitoring_location_id=USGS-263819081585801
#> Remaining requests this hour:2637 
#> Requesting:
#> https://api.waterdata.usgs.gov/ogcapi/v0/collections/field-measurements/items?f=json&lang=en-US&skipGeometry=TRUE&limit=10000&monitoring_location_id=USGS-263819081585801
#> Remaining requests this hour:2636 
#> Current API functionality requires pulling the full parameter-codes list.
#> It is expected that updates to the API will eliminate this need, but in the meantime
#> consider running read_waterdata_parameter_code() with no query parameters, and filtering
#> in a post-processing step.
#> Requesting:
#> https://api.waterdata.usgs.gov/ogcapi/v0/collections/parameter-codes/items?f=json&lang=en-US&skipGeometry=TRUE&limit=10000
#> Remaining requests this hour:2637 
#> Remaining requests this hour:2635 
#> GET: https://api.waterdata.usgs.gov/samples-data/summary/USGS-263819081585801?mimeType=text%2Fcsv
#> GET: https://api.waterdata.usgs.gov/samples-data/codeservice/characteristics?mimeType=application%2Fjson