Make a request to the /climatedata/climatestationtsmonth endpoint to retrieve climate stations monthly time series data by station number, or Site IDs within a given date range (start and end dates)
Usage
get_climate_ts_month(
station_number = NULL,
site_id = NULL,
param = NULL,
start_date = "1900-01-01",
end_date = Sys.Date(),
api_key = NULL
)
Arguments
- station_number
character, climate data station number
- site_id
character vector or list of characters of climate station site IDs
- param
character climate variable. One of: "Evap", "FrostDate", "MaxTemp", "MeanTemp", "MinTemp", "Precip", "Snow", "SnowDepth", "SnowSWE", "Solar","VP", "Wind"
- start_date
character date to request data start point YYYY-MM-DD
- end_date
character date to request data end point YYYY-MM-DD
- api_key
character, API authorization token, optional. If more than maximum number of requests per day is desired, an API key can be obtained from CDSS.