Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

citypop

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 layers.

Usage

data(citypop)

Format

A data frame with 51 rows and 5 variables.

Details

  • lon The longitude of the most populous city.

  • lat The latitude of the most populous city.

  • state The name of the state containing the city.

  • most_populous_city The name of the city.

  • city_pop The population of the city.

References


usmap

US Maps Including Alaska and Hawaii

v0.5.2
GPL-3 | file LICENSE
Authors
Paolo Di Lorenzo [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.