-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathus_national_population.Rd
43 lines (37 loc) · 1.03 KB
/
us_national_population.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/us-national-population.R
\docType{data}
\name{us_national_population}
\alias{us_national_population}
\title{Population of the United States, 1790-2010}
\format{
A data frame with 23 observations of 2 variables.
}
\usage{
us_national_population
}
\description{
Population figures for the entire United States of America from the decennial census.
}
\section{Variables}{
\itemize{
\item \code{year}: date of the census.
\item \code{population}: population of the state or territory.
}
}
\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")
}
}
\references{
This dataset has been gathered by the
\href{https://www.nhgis.org/}{NHGIS}. Minnesota Population Center,
\emph{National Historical Geographic Information System: Version 2.0}
(Minneapolis: University of Minnesota, 2011).
}
\keyword{datasets}