How You Can Help Enable Partisan Data

Partisan data, specifically 2008 presidential data, is available for many states. We are interested in data for voting districts or block groups, since those are the building blocks for redistricting in the application. For use by the application, the data needs to meet two important criteria:

  1. It must be in the right form.
  2. The voting district identifiers must match the 2000 census voting district identifiers.

The right form is a CSV (comma separated value) file, with columns like the following example (from Maryland). The Maryland file is named vt24_2008Pres_data.csv. The Census Bureau id for Maryland is 24.

County, VTD, Pres Dem, Pres Rep, Pres Other
1,01-001,83,305,5
1,02-001,125,320,5
1,03-001,118,291,10
......

As you can see there is a header row, followed by rows of data. In this example, the first data row has the county id of 1 and voting district (VTD) id or 01-001. The district recorded 83 votes for Obama, 305 votes for McCain and 5 votes for others.

The file vt24_d00_data.csv is the demographic data file. The first few lines look something like this.

MD,700,24,001,01-001,Allegany Precinct 01-001*,949,898,48,2,0,1,0
MD,700,24,001,02-001,Allegany Precinct 02-001*,1214,1183,11,3,2,5,10
MD,700,24,001,03-001,Allegany Precinct 03-001*,1491,1445,33,1,1,3,8
MD,700,24,001,04-002,Allegany Precinct 04-002,1704,1477,178,7,3,33,6
......

All you need to care about here is the County and VTD. The first data row has the county id 001 and VTD 01-001. Pretty straight forward, but be forewarned that just because the first n VTDs look very regular, it doesn't mean later ones are always regular. Make sure your VTDs all exactly match the VTDs in the demographic data file, including leading zeros and leading or trailing blanks. If you use MS Excel, it won't show leading zeros unless the column is formatted as text. Also, it may remove leading zeros. So, be sure to check using Notepad or another text editor before calling it done.

If you want to help, take these steps:

  1. Pick a state.
  2. Email me at mailto:redistricting@gardow.com so I can let you know if someone else is already working on it. Please give a time frame for when you think it will be done and whether I can share your email address with others on the project.
  3. Get the vtXX_d00_data.csv from the Silverlight isolated storage directory on your machine (see Saved Files.)
  4. Keep me posted on your progress and whether you run into significant changes in voting districts since 2000.
  5. Send me you completed vtXX_2008Pres_data.csv and I will upload.
  6. Please be patient as I get pretty busy with my "real" work and the rest of life.
  7. And Thank You!