Resources for "A Real-Life Data Project for an Interdisciplinary Math and Politics Course"

Mathematica notebook to process data

Mathematica notebook to analyze data

This notebook (which should work in any recent version of Mathematica, although it was created in 7.0) can convert raw San Francisco data into a more useful comma separated value format, "clean" the data by removing duplicates or blanks, and compute the winner of the election using the Borda, plurality, instant run off, and Condorcet methods.

Raw San Francisco data

The City of San Francisco makes election data available via their election archive at: http://www.sfgov2.org/index.aspx?page=1485. In case that data should someday not be available, I have stored here some interesting past data.
November 2008 data
November 2010 data

CSV data (created by the Mathematica notebook from the raw data)

November 2008 data
November 2010 data