ChileClimateData {AtmChile} | R Documentation |
Title ChileClimateData
Description
function that compiles climate data from Climate direction of Chile (D.M.C.)
Usage
ChileClimateData(Estaciones = "INFO", Parametros, inicio, fin, Region = FALSE)
Arguments
Estaciones |
data vector containing the codes of the monitoring stations. To see the table with the monitoring stations use ChileClimateData() |
Parametros |
data vector containing the names of the climate parameters. Available parameters: "Temperatura", "PuntoRocio", "Humedad","Viento", "PresionQFE", "PresionQFF". |
inicio |
text string containing the start year of the data request. |
fin |
text string containing the end year of the data request. |
Region |
logical parameter. If region is true it allows to enter the administrative region in which the station is located instead of the station code. |
Value
A data frame with climate data of Chile.
Source
<http://www.meteochile.gob.cl/>
Examples
try({ChileClimateData()}, silent = TRUE)
try({
data <- ChileClimateData(Estaciones = "180005",
Parametros = c("Temperatura", "Humedad"),
inicio = "2020", fin = "2020")
}, silent = TRUE)
try({
head(ChileClimateData(Estaciones = "II",
Parametros = "Temperatura", inicio = "2020",
fin = "2020", Region = TRUE))
}, silent = TRUE)
[Package AtmChile version 1.0.1 Index]