Gets the toponym where a meteorological station is located

WhereIs(name, station_names, location)

Arguments

name

character ID of the station

station_names

vector containing the IDs (characters) of the considered meteorological stations. An example is STATION_NAMES defined in the trentino dataset.

location

vector containing the toponyms. An example is LOCATION defined in the trentino dataset.

Value

the location toponym given the vectors of station IDs and the respective location toponyms

Author

Emanuele Cordano, Emanuele Eccel

Examples

data(trentino)
WhereIs("T0099",station_names=STATION_NAMES,location=LOCATION) 
#> [1] "CIMA PAGANELLA"