get_location {evolMap} | R Documentation |
Get location coordinates.
Description
get_location
returns the latitude and longitude of each input place name.
Usage
get_location(x)
Arguments
x |
a vector string with place names ("city, country") whose coordinates will be downloaded from OpenStreetMap. |
Value
Matrix with the latitude and longitude coordinates of each input place.
Author(s)
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
get_location(c("Salamanca, Spain","New York, United States"))
[Package evolMap version 1.2.33 Index]