Turkish Elections Data






The tool above visualizes 2,975,843 ballot-box level election results in Turkey spanning over 10 years and 20 elections.  

The Turkish Government publishes extraordinarily detailed electoral data. In fact, they publish PDF scans of individual ballot boxes such as the one below. This is ballot box number 1100, located in the village of Karamu, in Diyarbakir province’s Silvan district-- home to just 155 voters. Several websites already visualize electoral data, but none go below the district level. I wrote a python script (available here on Github) that scraped and concatenated ballot-box level results into a single dataframe. A note of caution if you're planning on running the program: the results are stored in .csv files that end up taking ~3GB of space.


Comments

Popular posts from this blog

Building a 3D Model of the Beirut Explosion

Fixing Election Maps using Street Lamps

Did Saudi Arabia Know an Attack was Coming?