download_climate {ColOpenData} | R Documentation |
Download climate data from stations contained in a municipality or department. This data is retrieved from local meteorological stations provided by IDEAM.
download_climate(code, start_date, end_date, tag)
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
|
end_date |
character with the last date to consult in the format
|
tag |
character containing climate tag to consult. Please use
|
data.frame
object with observations from the stations in the
area.
ptpm <- download_climate("73148", "2021-11-14", "2021-11-20", "PTPM_CON")
head(ptpm)