blockgroup.data: Blockgroup-level Decennial Census data

Description Usage Arguments Examples

View source: R/demogromatics-functions.R

Description

Blockgroup-level Decennial Census data

Usage

1
2
blockgroup.data(token, state = "*", county = "*", blockgroup = "*",
  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.

blockgroup

Vector of blockgroup numbers. Defaults to "*" for all blockgroup

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
blockgroup.data(token = token, state = c(47, 48), county = "*", blockgroup = "*", variables = c("P001001","P001001"))
blockgroup.data(token = token, state = 47, county = 1, blockgroup = "*", variables = c("P001001","P001001"))

nancyorgan/demogromatics documentation built on Nov. 30, 2017, 8:42 p.m.