census.2000.bg: 2000 Block Group Data (deprecated)

Description Usage Arguments Examples

View source: R/demogromatics-functions.R

Description

2000 Block Group Data (deprecated)

Usage

1
census.2000.bg(token, state = "*", variables)

Arguments

token

Go to http://www.census.gov/developers/ to request an API key. This function will not work if you do not have your own unique key. There is no default.

state

A state FIPS code (stored as a character, ie "47"). Defaults to "*" for every state in the US.

variables

The desired variables for which you would like data. Variable names found here: http://api.census.gov/data/2000/sf3/variables.html

Examples

1
2
3
4
5
6
7
8
9
example = census.2000.bg(token = "yourkey", state = "47", variables = "P001001")
head(example)
P001001        GEOID
1    1035 470010201001
2     751 470010201002
3     577 470010201003
4     970 470010202001
5    3519 470010202002
6     714 470010202003

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