Census Map: Difference between revisions
From charlesreid1
| Line 20: | Line 20: | ||
[[Image:QGIS_CaliforniaCounties.png|500px]] | [[Image:QGIS_CaliforniaCounties.png|500px]] | ||
Dittos for a US counties map, it was around 70 MB and straightforward to load with a map: | |||
[[Image:QGIS_USCounties.png|500px]] | |||
Revision as of 03:55, 8 February 2015
My goal is to set up a map that connects census tract data with some other census data, e.g., population or median income.
Census.gov API
First, I found the SunglightLabs Census library, which provides a Python wrapper to the 2010 Census data API (wow!):
https://github.com/sunlightlabs/census
I requested a key from census.gov here: http://www.census.gov/developers/
And waited.........
Mapping
Mapping County Boundaries
To map census data, I wanted to get shapefile information. Here's shapefile information provided by the Census Bureau: http://www.census.gov/cgi-bin/geo/shapefiles2010/main
I started with a county map of California, tl_2010_06_county10.zip. The zip file contained a set of files, including the shapefile. I fired up QGIS to have a look at it.
Dittos for a US counties map, it was around 70 MB and straightforward to load with a map: