getMeteoDataTrentino | R Documentation |
Get data for Trentino Weather Station
getMeteoDataTrentino(
station = c("T0179", "T0175"),
url = "https://dati.meteotrentino.it/service.asmx/ultimiDatiStazione?codice=TCODE",
verbose = TRUE,
tz = "Etc/GMT-1",
smet = TRUE,
header = c("station_id", "station_name", "station_shortname", "altitude", "latitude",
"longitude"),
...
)
station |
ID code |
url |
URL with data. Default is |
verbose |
verbose logical argument |
tz |
time zone. Default is |
smet |
logical value. If it is |
header |
header accepted from |
... |
further arguments |
The data are licensed as Open Data and released by Provincia Autonoma di Trento (www.meteotrentino.it) through https://dati.trentino.it/dataset/dati-recenti-delle-stazioni-meteo. Please see the link for major details.
Emanuele Cordano
metadata <- getMetaDataTrentino(return.type="list")
nn <- metadata $station_id ## names(metadata)[!(names(metadata) %in% c("T0365"))]
# Please uncomment the following run to run the command
# data <- getMeteoDataTrentino(station=metadata[nn])
data <- getMeteoDataTrentino(station=nn)
#datap <- getMeteoDataTrentino(station=metadata[["T0153"]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.