aemet_last_obs {climaemet} | R Documentation |
Last observation values for a station
Description
Get last observation values for a station.
Usage
aemet_last_obs(
station = "all",
verbose = FALSE,
return_sf = FALSE,
extract_metadata = FALSE,
progress = TRUE
)
Arguments
station |
Character string with station identifier code(s)
(see |
verbose |
Logical |
return_sf |
Logical |
extract_metadata |
Logical |
progress |
Logical, display a |
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_monthly
,
aemet_normal
,
aemet_stations()
Examples
library(tibble)
obs <- aemet_last_obs(c("9434", "3195"))
glimpse(obs)