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

View source: R/get_coordinates.R

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


meteo documentation built on May 29, 2024, 6:13 a.m.

Related to get_coordinates in meteo...