Learn R Programming

choroplethr (version 1.3.0)

get_acs_df: Returns a data.frame representing American Community Survey estimates.

Description

Returns a data.frame representing American Community Survey estimates.

Usage

get_acs_df(tableId, lod, endyear = 2012, span = 5, column_idx = -1)

Arguments

tableId
The id of an ACS table.
lod
The level of geographic detail for the data.frame. Must be one of "state", "county" or "zip".
endyear
The end year of the survey. Defaults to 2012.
span
The span of the survey. Defaults to 5.
column_idx
An optional column index to specify.

Value

  • A data.frame

See Also

http://factfinder2.census.gov/faces/help/jsf/pages/metadata.xhtml?lang=en&type=survey&id=survey.en.ACS_ACS, which lists all ACS Surveys.