get_coordinates function

Get lon/lat coordinates for a specific location name.

Get lon/lat coordinates for a specific location name.

The function gives back lon/lat coordinates for a specific location name using Nominatim (https://nominatim.org/) service.

get_coordinates(location_name = "Belgrade")

Arguments

  • location_name: character; Location name (e.g. "Belgrade").

Returns

numeric vector with lon/lat values for a specific location name.

Author(s)

Aleksandar Sekulić asekulic@grf.bg.ac.rs

See Also

get_meteo

Examples

coords <- get_coordinates("Belgrade") str(coords)