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)


AleksandarSekulic/Rmeteo documentation built on Oct. 12, 2024, 7:44 p.m.