Learn R Programming

SmarterPoland (version 1.8.1)

cities_lon_lat: 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.

Arguments

Author

Przemyslaw Biecek [based on world.cities]

Examples

Run this code
if (FALSE) {
	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]
}

Run the code above in your browser using DataLab