county.data: County-level Decennial Census data

Description Usage Arguments Examples

Description

County-level Decennial Census data

Usage

1
2
county.data(token, state = "*", county = "*", variables, year = 2010,
  survey = "sf1")

Arguments

token

Unique API token

state

Vector of state numbers. Defaults to "*" for all states.

county

Vector of county numbers. Defaults to "*" for all counties.

variables

Vector of variable codes.

year

Either 2000 or 2010; 1990 is partially supported but may have errors.

survey

Either "sf1" or "sf3"

Examples

1
2
county.data(token = token, state = c(47:49), county = "*", variables = c("P001001", "PCT014003"))
county.data(token = token, state = c(47), county = 5,variables = c("P001001", "PCT014003","P001001"))

nancyorgan/demogromatics documentation built on May 29, 2019, 1:19 p.m.