ElectionStats

My flagship project is to liberate election data from every state of the United States and publish the data onto a robust web software platform I designed and developed: ElectionStats.com.

Massachusetts should be proud; it is the first state to adopt this technology. Branded as “PD43+” (which stands for “Public Document 43″), the software boasts over 40 years of historical data for every county, state, and federal election, and every ballot question in Massachusetts. Results are available at the municipality level up until 2002, after which the data is available at the precinct level. The website was launched in March 2013 as a subsection of the Secretary of the Commonwealth’s website. You can view it here: http://electionstats.state.ma.us

Liberating such comprehensive data at such a fine level is an unusual achievement that can be used to generate some powerful insights about the state of our democracy at varying levels of geography. One insight is that of competition. There are colorful charts that appear to indicate how many candidates ran in primary and general elections for the particular district you are looking at. In this regard, Massachusetts is abysmal, with about 8 out of 10 state representative races going uncontested.

The software has been built to be “pluggable” with election data from other jurisdictions. The plan is to continue to bring new states online as quickly as possible and make this not only the most intuitive software tool of its kind, but the most comprehensive in its data offering.

How I came to create the ElectionStats platform

As part of my advocacy for Ranked Choice Voting, I set out to scour the state’s official election books in order to determine the extent of “minority-winner” candidates, aka, candidates who win elections with less than 50 percent of the vote. In the process, I stumbled upon a treasure trove of PDF files at the Massachusetts State Library. Apparently, the library had received a grant in order to scan and link as PDFs every single edition of these books, which are published every two years and date back to the late 1800s. Using a combination of optical character recognition (OCR) programs, I was able to scrape the data out of these 500+ page volumes. I scraped over twenty books, over 10,000 pages in all, starting at 1970 and proceeding up to 2000.

PD43+ Massachusetts ElectionStats in the news and elsewhere

Google “election statistics” and you’ll find PD43+ high up in the search results

Institutional listings:

Social Law Library

Harvard Kennedy School Library

Tufts University Library

Analysis made possible by ElectionStats:

Koczela, Steve. “Not exactly party time in Massachusetts: the number of unenrolled voters is climbing to historic highs.” CommonWealth (Summer 2014).
View article »

Benson, Brent. “An updated partisan ranking of Massachusetts state representative districts.” Mass Numbers: A quantitative look at Massachusetts politics and policy (May 27, 2014).
View article »

Koczela, Steve. ”Boston’s Challenge for the GOP.” CommonWealth (Spring 2014).
View article »

Koczela, Steve. “Where are the most ‘swingers’ in Massachusetts?” Commonwealth (February 7, 2014).
View article »

“The strange tale of Congressman John Arden.” MassINC Polling Group (December 16, 2103).
View article »

Media mentions:

Click the media logos on ElectionStats.com homepage »

Schoenberg, Shira. “New websites provide access to Massachusetts political data.” MassLive (February 21, 2013).
View article »

“Politics in the Blogsphere.” Mass. Political Profs (February 20, 2013).
View article »