Get county extremes
get_county_extremes.Rd
Use the default query parameters to retrieve all values.
Usage
get_county_extremes(
sources = NULL,
sourcenames = NULL,
counties = NULL,
municipalities = NULL,
elements = NULL,
months = NULL,
fields = NULL,
version = "v0",
format = "jsonld",
client = get_frost_client(),
auth_type = c("basic", "oauth"),
flatten = TRUE,
return_response = FALSE
)
Arguments
- sources
character: Source (station) ID, e.g. 'SN18700'.
- sourcenames
character: Source names.
- counties
character: Counties
- municipalities
character: Municipalities
- elements
character: Elements. See `get_elements()` for available values.
- months
character: Months to get records for as integers or integer ranges between 1 and 12, e.g. '1,5,8-12'.
- fields
character: Fields to return in the response.
- version
character: API version.
- format
character: Response format.
- client
list: List with client id and secret. Defaults to the `MET_FROST_ID` and `MET_FROST_SECRET` environment variables.
- auth_type
character: Authentication method, either 'basic' or 'oauth'.
- flatten
logical: If TRUE the response is transformed to a table.
- return_response
logical: If TRUE a list of class `frost_api` is returned, including the raw `httr2_response`.