View source: R/aemet_stations.R
aemet_stations | R Documentation |
Get AEMET stations.
aemet_stations(verbose = FALSE, return_sf = FALSE)
verbose |
Logical |
return_sf |
Logical |
The first result of the API call on each session is (temporarily) cached in
the assigned tempdir()
for avoiding unneeded API calls.
A tibble
or a sf object.
You need to set your API Key globally using aemet_api_key()
.
Code modified from project https://github.com/SevillaR/aemet.
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_last_obs()
,
aemet_monthly
,
aemet_normal
library(tibble)
stations <- aemet_stations()
stations
# Cached during this R session
stations2 <- aemet_stations(verbose = TRUE)
identical(stations, stations2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.