Learn R Programming

meteo (version 2.0-3)

get_coordinates: Get lon/lat coordinates for a specific location name.

Description

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

Usage

get_coordinates(location_name = "Belgrade")

Value

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

Arguments

location_name

character; Location name (e.g. "Belgrade").

Author

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

See Also

get_meteo

Examples

Run this code
# \donttest{
coords <- get_coordinates("Belgrade")
str(coords)
# }

Run the code above in your browser using DataLab