Ari Lamstein

R Election Analysis Contest Results

On March 28th I announced the R Election Analysis Contest. The quantity and quality of submissions was amazing!  If you have not been following along, here is a complete list of submissions, with links, in order of submission. I encourage you to read them all!

Luke Smith2016 Texas Primaries: Mapped
Alexander PodkulDonors and Donations
Primary Polling Errors
James IgoeChi-Square in R on by State Politics (Red/Blue) and Income (Higher/Lower)
Decision Tree in R, with Graphs: Predicting State Politics from Big Five Traits
Logistic Regression in R on State Voting in National Elections and Income
David SparksThe distribution of ideology in the U.S. House (with plyr)
Measuring the Gerrymander with spatstat
Dot-density maps with spsample()
Peter EllisElection analysis contest entry part 1 - introducing the nzelect R package
Election analysis contest entry part 2 - building the nzelect R package
Election analysis contest entry part 3 - interactive exploration of voting locations with leaflet and Shiny
Election analysis contest entry part 4 - drivers of preference for Green over Labour party
Julia SilgeWho Came to Vote in Utah's Caucuses?
Daniel MendozaWhat Twitter Can Tell us About a Presidential Hopeful
Vijayvithal JahagirdarBBMP Election Analysis: BBMP 2015
Yoni SidiElection tRends
Israel Election Polls Analysis Depot

A Behind the Scenes Look…

Before announcing the winner, I’d like to tell you a bit more about how the contest came to be. I had never run a contest before, and was a bit worried that no one would submit anything. I took the risk primarily because I wanted to raise awareness of what I see as an incredibly interesting area of technology: the intersection of free analytical software (such as R) and open datasets (such as election data). People now have unprecedented access to raw data about their communities, and I am excited about the doors that it is opening.

A secondary goal was to encourage people to take the risk of publishing their own research online. I speak with a lot of R beginners who want to improve their skills. Completing interesting projects and publishing your results is one of the best ways to improve your skills.

So thank you very much to everyone who participated!

And the Winner is …

The prize goes to Peter Ellis for his work on New Zealand elections. This work includes the creation of an R package (1, 2), interactive exploration of voting locations with leaflet and Shiny (3) and an analysis of drivers of preference for the Green party over the Labour party (4). Peter is a statistician who works for the New Zealand government. His knowledge of the intricacies of New Zealand election data, desire to bring that data to a wide audience, and skill in doing so is truly amazing. Here is an image from one of his entries:


Thank you Peter, and I will be in touch with you shortly about how to claim your prize! Please join me in congratulating Peter by clicking the following tweet:

[bctt tweet=”Congratulations @ellis2013nz on winning the R Election Analysis Contest! #rstats #opendata” username=”arilamstein”]

Ari Lamstein

Ari Lamstein

I currently work as a Staff Data Science Engineer at a marketing analytics consultancy. I have 20 years experience developing software in areas such as data science, web development and video games. I have also worked as a technical trainer and independent consultant.

Thanks for visiting!

Sign up to stay up to date with the latest blog posts: