get_coordinates {meteo}R Documentation

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")

Arguments

location_name

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

Value

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)


[Package meteo version 2.0-3 Index]