Excellent. Where are you getting your county data?
From the AP site:
I'm getting the 2004 county data from Wikipedia. Downloaded them both, then some tricks with a spreadsheet to separate the election data so it automatically feeds into the formulas.