get_station | R Documentation |
get the closest climate station id based on physical station network or grid cell index
get_station( latitude, longitude, data = agroenv::station_index, network, n = 1, ... )
latitude |
latitude of the geographical location in decimal degrees (WGS84) |
longitude |
logitude of the geographical location in decimal degrees (WGS84) |
data |
list of dataframes containing stations or grid cell coordinates |
network |
string of the stations network or gridded data to use |
n |
number of results to return |
... |
additional arguments for use with pmap |
a dataframe of station(s) or grid cell closest to the geographical location
get_station(43.5279, 1.5009, network="climbox", n=5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.