kansas07: County-level data from the 2007 American Community Survey for...

Description Usage Format Source Examples

Description

County-level data from the 2007 American Community Survey for Kansas. Contains demographic data on sex, age, and citizenship. Used for examples in acs package. kansas07 and the corresponding five-year survey data in kansas09 provide acs objects to test and demonstrate various functions in the package.

Usage

1

Format

An acs-class object with 7 rows/geographies and 55 demographic variables, representing county-level ACS data for the state of Kansas. Also includes geographic and other metadata.

Note that in comparison to kansas09, kansas07 has far fewer rows, which illustrates the fact that the Census only provides ACS one-year data for the largest counties (over 65,000 population).

Source

U.S. Census American Community Survey, 2007; http://www.census.gov/

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
data(kansas07)
str(kansas07)
class(kansas07)

geography(kansas07)

# subsetting
kansas07[1:3,2:4]

# row-wise addition
kansas07[1,6]+kansas07[2,6]

# column-wise addition
kansas07[1:4,3]+kansas07[1:4,27]

nealrichardson/acs documentation built on May 23, 2017, 11:37 a.m.