find_nearest_weather_station: Find nearest weather station

Description Usage Arguments Value See Also

Description

Function calculating the distance of the address to all supplied DWD weather stations and selects the closest one

Usage

1
retrieve_dwd_stations(recording_start = NULL, recording_end = NULL, station_type = c("FF", "KL", "RR", "SO", "TU"), proxy_opts = NULL, ...)

Arguments

address

Character value or vector of character strings (for query of multiple locations) containing the address of the location for which the data should be retreived in the format "street name, street number, ZIP code, city, country"

weather_stations

Data frame containing a list of DWD weather stations, previously retrieved from the DWD server (see function retrieve_dwd_stations)

...

List of optional parameters to underlying functions

Value

Returns the station ID of the closest weather station as a numeric value

See Also

geoCode, linear_coordinates_distance


dsmirnov88/GermanWeatherData documentation built on May 15, 2019, 4:22 p.m.