header_tag.html

Skip to contents

This function returns a list of properties available from an endpoint. When available, it will also contain a description.

Usage

get_ogc_params(service)

Arguments

service

Character, can be any of the USGS Waterdata API endpoints or collections.

Value

list

Examples


# \donttest{
ml <- dataRetrieval::get_ogc_params("monitoring-locations")
ml$national_aquifer_code
#> [1] "National aquifers are the principal aquifers or aquifer systems in the United States, defined as regionally extensive aquifers or aquifer systems that have the potential to be used as a source of potable water. Not all groundwater monitoring locations can be associated with a National Aquifer. Such monitoring locations will not be retrieved using this search criteria. A list of National aquifer codes and names is available at [https://api.waterdata.usgs.gov/ogcapi/v0/collections/national-aquifer-codes/items](https://api.waterdata.usgs.gov/ogcapi/v0/collections/national-aquifer-codes/items).\n"
# }