| citypop {usmap} | R Documentation |
Most populous city in each state (2010)
Description
The most populous city in each US state, as of the 2010 US Census.
The data is formatted for transforming with usmap_transform().
Once the longitude and latitude is transformed, it can be added to
plot_usmap() using ggplot2::ggplot() layers.
Usage
data(citypop)
Format
A data frame with 51 rows and 5 variables.
Details
-
lonThe longitude of the most populous city. -
latThe latitude of the most populous city. -
stateThe name of the state containing the city. -
abbrThe abbreviation of the state containing the city. -
most_populous_cityThe name of the city. -
city_popThe population of the city.
References
[Package usmap version 0.7.1 Index]