| aemet_monthly {climaemet} | R Documentation |
Monthly/annual climatology
Description
Get monthly/annual climatology values for a station or all the stations.
aemet_monthly_period() and aemet_monthly_period_all() allows requests
that span several years.
Usage
aemet_monthly_clim(
station = NULL,
year = as.integer(format(Sys.Date(), "%Y")),
verbose = FALSE,
return_sf = FALSE,
extract_metadata = FALSE,
progress = TRUE
)
aemet_monthly_period(
station = NULL,
start = as.integer(format(Sys.Date(), "%Y")),
end = start,
verbose = FALSE,
return_sf = FALSE,
extract_metadata = FALSE,
progress = TRUE
)
aemet_monthly_period_all(
start = as.integer(format(Sys.Date(), "%Y")),
end = start,
verbose = FALSE,
return_sf = FALSE,
extract_metadata = FALSE,
progress = TRUE
)
Arguments
station |
Character string with station identifier code(s)
(see |
year |
Numeric value as date (format: |
verbose |
Logical |
return_sf |
Logical |
extract_metadata |
Logical |
progress |
Logical, display a |
start |
Numeric value as start year (format: |
end |
Numeric value as end year (format: |
Value
API Key
You need to set your API Key globally using aemet_api_key().
See Also
Other aemet_api_data:
aemet_beaches(),
aemet_daily_clim(),
aemet_extremes_clim(),
aemet_forecast_beaches(),
aemet_forecast_daily(),
aemet_last_obs(),
aemet_normal,
aemet_stations()
Examples
library(tibble)
obs <- aemet_monthly_clim(station = c("9434", "3195"), year = 2000)
glimpse(obs)