getSnowData: Get data for Trentino Weather Station

View source: R/getSnowData.R

getSnowDataR Documentation

Get data for Trentino Weather Station

Description

Get data for Trentino Weather Station

Usage

getSnowData(
  url = "https://dati.meteotrentino.it/service.asmx/tuttiUltimiRilieviNeve",
  url_metadata = "https://dati.meteotrentino.it/service.asmx/listaCampiNeve",
  header.fields = c("station_id", "station_name", "station_shortname", "altitude",
    "location", "longitude", "latitude"),
  station_id_prefix = "TRENTINO_",
  smet = TRUE,
  tz = "Etc/GMT-1",
  ...
)

Arguments

url

URL with data. Default is "https://dati.meteotrentino.it/service.asmx/tuttiUltimiRilieviNeve".

url_metadata

URL with data. Default is "https://dati.meteotrentino.it/service.asmx/listaCampiNeve".

header.fields

header fields for the returened smet-class objects. See as.smet. It is used in case smet==TRUE.

station_id_prefix

string added to the station ID as a prefix. It distinguishes www.meteotrentino.it snow stations from the ones of other weather services.

smet

logical value. If it is TRUE, data are returned as a list of smet-class object(s).

tz

time zone. Default is Etc?GMT-1.

...

further arguments

Details

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-dei-campi-neve. Please see the link for major details.

Author(s)

Emanuele Cordano

Examples



##out <- getSnowData()

### LEGEND (AINEVA) : https://www.meteotrentino.it/neve-ghiacci/Husky/mod1/legenda-mod1.pdf





ecor/MeteoDataTrentino documentation built on Aug. 30, 2023, 2:04 a.m.