us_national_population: Population of the United States, 1790-2010

Description Usage Format Variables References Examples

Description

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

Usage

1

Format

A data frame with 23 observations of 2 variables.

Variables

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

1
2
3
4
5
6
7
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")
}

Example output

  year population
1 1790    3929625
2 1800    5308483
3 1810    7239881
4 1820    9638239
5 1830   12860702
6 1840   17063353
Loading required package: ggplot2

historydata documentation built on May 2, 2019, 2:11 a.m.