us_national_population: Population of the United States, 1790-2010

us_national_populationR Documentation

Population of the United States, 1790-2010

Description

Population figures for the entire United States of America from the decennial census.

Usage

us_national_population

Format

A data frame with 23 observations of 2 variables.

Variables

  • year: date of the census.

  • population: population of the state or territory.

References

This dataset has been gathered by the NHGIS. Minnesota Population Center, National Historical Geographic Information System: Version 2.0 (Minneapolis: University of Minnesota, 2011).

Examples

head(us_national_population)
if(require(ggplot2)) {
  ggplot(us_national_population,
         aes(x = year, y = population)) +
  geom_line() +
  ggtitle("Population of the United States, 1790-2010")
}

ropensci/historydata documentation built on Aug. 17, 2024, 7:28 p.m.