Showing posts from December, 2019
- Other Apps
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.