View source: R/aemet_last_obs.R
aemet_last_obs | R Documentation |
Get last observation values for a station.
aemet_last_obs(
station = "all",
verbose = FALSE,
return_sf = FALSE,
extract_metadata = FALSE,
progress = TRUE
)
station |
Character string with station identifier code(s)
(see |
verbose |
Logical |
return_sf |
Logical |
extract_metadata |
Logical |
progress |
Logical, display a |
A tibble
or a sf object
You need to set your API Key globally using aemet_api_key()
.
Other aemet_api_data:
aemet_alert_zones()
,
aemet_alerts()
,
aemet_beaches()
,
aemet_daily_clim()
,
aemet_extremes_clim()
,
aemet_forecast_beaches()
,
aemet_forecast_daily()
,
aemet_forecast_fires()
,
aemet_monthly
,
aemet_normal
,
aemet_stations()
library(tibble)
obs <- aemet_last_obs(c("9434", "3195"))
glimpse(obs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.