Mapping the Massachusetts election upset with R, ctd

February 4, 2010
By

(This article was first published on Revolutions, and kindly contributed to R-bloggers)

Last week we looked at an analysis done in R by the good folks at Offensive Politics, looking at the political climate surrounding the recent Senate election in Massachusetts. There were some very insightful comments (thanks, Revolutions readers!) about the design of the charts, especially in the choice of color schemes used (the originals didn't use a neutral white midpoint to represent no change). Well, Offensive Politics have taken another look at the charts, and produced some new ones which are a great improvement. With the revisions, the chart comparing the increase in Republican vote percentage from 2008 to 2010 looks like this:

Republican increase

 Offensive Politics notes:

From this map we can see that from 2008 to 2010 the Republican vote percentage actually increased in every single township in MA. This is kind of shocking, especially when you consider that Democrats enjoy a 15 point registration advantage statewide.

Check the link below for all the updated charts, and of course the R code to create them.

Offensive Politics: Re-mapping Massachusetts Special election results

To leave a comment for the author, please follow the link and comment on his blog: Revolutions.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Tags: ,

Comments are closed.