download_climate: Download climate from named geometry (municipality or department)
Description
Download climate data from stations contained in a municipality or
department. This data is retrieved from local meteorological stations
provided by IDEAM.
Usage
download_climate(code, start_date, end_date, tag)
Value
data.frame object with observations from the stations in the
area.
Arguments
code
character with the DIVIPOLA code for the area (2 digits for
departments and 5 digits for municipalities).
start_date
character with the first date to consult in the format
"YYYY-MM-DD". (First available date is "1920-01-01").
end_date
character with the last date to consult in the format
"YYYY-MM-DD". (Last available date is "2023-05-31").
tag
character containing climate tag to consult. Please use
cliamte_tags() to check IDEAM tags.