listGeoExamples: List examples of available geographic units for a database

Description Usage Arguments Value Examples

Description

List examples of available geographic units for a database

Usage

1
  listGeoExamples(year, dbname)

Arguments

year

four digit year

dbname

see censusData$dbname for available databases

Value

data frame with examples for the available geographic units in the database

Examples

1
2
listGeoExamples(2010, "sf1")[,-3]
iowa <- read.census(gsub("XXX", getkey(), "http://api.census.gov/data/2010/sf1?key=XXX&get=P0010001,NAME&for=zip+code+tabulation+area:*&in=state:19"))

heike/cbapi documentation built on May 17, 2019, 3:23 p.m.