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
)
station |
Character string with station identifier code(s)
(see |
verbose |
Logical |
return_sf |
Logical |
extract_metadata |
Logical |
You need to set your API Key globally using aemet_api_key()
.
Other aemet_api_data:
aemet_daily_clim()
,
aemet_extremes_clim()
,
aemet_forecast_daily()
,
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.