Neighborhood Segregation Over Time

Analyzing US Census Data in Python

Lee Hachadoorian

Asst. Professor of Instruction, Temple University

Histograms

counties.head()
   totalpop state county
0     54571    01    001
1     22915    01    007
2     34215    01    017
3     25989    01    019
4     25833    01    025
sns.distplot(counties["totalpop"], 
             kde = False)

A histogram of Census tract populations.

Analyzing US Census Data in Python

Histograms

tracts.head()
   totalpop state county   tract
0      1912    01    001  020100
1      2170    01    001  020200
2      3373    01    001  020300
3      4386    01    001  020400
4     10766    01    001  020500
sns.distplot(tracts["totalpop"],
             kde = False)

A histogram of Census tract populations.

Analyzing US Census Data in Python

A screenshot of the National Historical GIS homepage.

IPUMS NHGIS, University of Minnesota, www.nhgis.org

Analyzing US Census Data in Python

NHGIS vs. Census Bureau FTP

  1. Historical data going back to 1790 (first United States Census)
  2. GIS files for mapping Census data
  3. Time series data for consistent geographic areas
Analyzing US Census Data in Python

Let's Practice!

Analyzing US Census Data in Python

Preparing Video For Download...