[R] US 2004 Elections map

michael watson (IAH-C) michael.watson at bbsrc.ac.uk
Thu Dec 9 16:37:37 CET 2004

So, ahem, it would be pretty easy to swap the colors round and claim a
Kerry victory?

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Hedderik van Rijn
Sent: 09 December 2004 14:36
To: r-help at stat.math.ethz.ch
Subject: [R] US 2004 Elections map

even for people who didn't like the outcome of the US elections this  
year, it must have been a joy to see all the nice (and not so nice)  
graphs that were shown. As an exercise, I recreated the map shown on  
the NY-Times website [  
20041103_px_ELECT_GRAPHIC.html ]

If you're interested,


contains the created maps, the data and the code. Note that there are  
some differences in the R map and the NYT map (most notably with  
respect to some missing data in some New England states, some  
mismatches in county names, and the representation of NYC), but I was  
quite satisfied with the map as it stands now.

   - Hedderik.

R-help at stat.math.ethz.ch mailing list
PLEASE do read the posting guide!

More information about the R-help mailing list