download_hourly_station_data: Download hourly weather data of the DWD stations

Description Usage Arguments Value Author(s) Examples

View source: R/download_station_data.R

Description

Downloads hourly data of the DWD stations in Germany

Usage

1
2
3
4
5
6
download_hourly_station_data(
  station,
  parameter = c("temperature", "precipitation", "windspeed"),
  time = "recent",
  astbl = FALSE
)

Arguments

station

the station ID

parameter

one ore multiple paramters of c("temperature", "humidity", "precipitation", "windspeed", "winddirection")

time

either "recent" often updated data or "historical" data which go longer in the past

astbl

default = FALSE; should the explort be a dataframe or a tibble

Value

a p value of the comparison between the selected and random points

Author(s)

Wolfgang Hamer

Examples

1
2
3
4
5
6
7
8
# Select Location
mapview::mapview(get_all_dwd_locations(TRUE))

Fehmarn <- download_hourly_station_data(5516)
head(Fehmarn)

LeuchtturmKiel <- download_hourly_station_data(02961, parameter = "windspeed")
head(LeuchtturmKiel)

whamer/papros documentation built on Feb. 6, 2021, 8:54 a.m.