Census Map: Difference between revisions
From charlesreid1
No edit summary |
|||
| Line 14: | Line 14: | ||
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 | 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. | |||
[[Image:QGIS_CaliforniaCounties.png|500px]] | |||
Revision as of 03:51, 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 Census Data
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.