Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


evolMap (version 1.3.8)

get_location: Get location coordinates.

Description

get_location returns the latitude and longitude of each input place name.

Usage

get_location(x)

Value

Matrix with the latitude and longitude coordinates of each input place.

Arguments

x

a vector string with place names ("city, country") whose coordinates will be downloaded from OpenStreetMap.

Author

Modesto Escobar modesto@usal.es, Department of Sociology and Communication, University of Salamanca, Carlos Prieto cprietos@usal.es, and David Barrios metal@usal.es, Bioinformatics Service, University of Salamanca.

Examples

Run this code
get_location(c("Salamanca, Spain","New York, United States"))

Run the code above in your browser using DataLab