census: Random sample of 2000 U.S. Census Data

Description Usage Format Source Examples

Description

A random sample of 500 observations from the 2000 U.S. Census Data.

Usage

1

Format

A data frame with 500 observations on the following 8 variables.

censusYear

Census Year.

stateFIPScode

Name of state.

totalFamilyIncome

Total family income (in U.S. dollars).

age

Age.

sex

Sex with levels Female and Male.

raceGeneral

Race with levels American Indian or Alaska Native, Black, Chinese, Japanese, Other Asian or Pacific Islander, Two major races, White and Other.

maritalStatus

Marital status with levels Divorced, Married/spouse absent, Married/spouse present, Never married/single, Separated and Widowed.

totalPersonalIncome

Total personal income (in U.S. dollars).

Source

http://factfinder.census.gov/

Examples

1
2
3
4
data(census)
str(census)
these <- census[,3] > 0     # income greater than 0
histPlot(log(census$totalFamilyIncome[these]), xlab="log(total family income)")

JECheadle/RSOC317L documentation built on May 15, 2019, 4:02 a.m.