kansas07 {acs} | R Documentation

## County-level data from the 2007 American Community Survey for Kansas for use in examples of acs package.

### 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

    data(kansas07)

### 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

    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]

[Package acs version 2.1.4 Index]