Learn R Programming

McSpatial (version 2.0)

CookCensusTracts: Shapefile of Census Tracts in Cook County for 2000

Description

A map of census tracts in Cook County, Illinois with data on population, median household income, average floor area ratios, and average home ages.

Arguments

Format

A shape file with 1343 census tracts. Can be read directly into a GIS program.
SP_ID
An identification variable
AREA
Area of the tract in square miles
TRACT
Census tract number, including state and county codes
POPULATION
Population in 2000
HHMEDINC
Median household income in the census tract in 2000
FAR
Average floor area ratio for census tract in 2000. Calculated from Cook County assessment file
AGE
Average age of homes in 2000. Calculated from Cook County assessment file.
CHICAGO
Indicates whether the tract is part of the City of Chicago. O'Hare airport is NOT included in Chicago. It is identified in the variable CAREA.
CAREA
For Chicago observations, indicates the community area. Missing for suburban observations.

Source

Daniel McMillen. Data are drawn from the U.S. Census and the Cook County Assessment File.

Examples

Run this code
cook <- readShapePoly(system.file("maps/CookCensusTracts.shp",
  package="McSpatial"))
sampvar <- cook$CHICAGO==1|(!is.na(cook$CAREA)&cook$CAREA=="O'Hare")
chicago <- cook[sampvar==TRUE,]

Run the code above in your browser using DataLab