cities_lon_lat {SmarterPoland} | R Documentation |
Geocoordinates of Largest Cities
Description
A subset of world.citiesmaps. Extracted in order to shink number of dependencies. Only cities with pop > 50k are keept.
Author(s)
Przemyslaw Biecek [based on world.cities]
Examples
## Not run:
library(maps)
data(world.cities)
cities_lon_lat <- world.cities[!duplicated(world.cities$name),]
rownames(cities_lon_lat) = cities_lon_lat[,1]
cities_lon_lat <- cities_lon_lat[cities_lon_lat$pop > 50000,]
cities_lon_lat <- cities_lon_lat[,4:5]
## End(Not run)
[Package SmarterPoland version 1.8.1 Index]