Published: May 3, 2024
This is a continuation of a blog I have written earlier called Create Turkish Voter Profile Database With Web Scraping .
In that blog, we had mentioned that CHP (Republican People's Party) had surprised people by overcoming AKP (Justice and Development Party) in March 31 2024 Local Elections for the first time in 22 years. 2 major explanations for CHP's victory are:
Are these true though? Let's find out.
In the previous article, we have collected data from Turkish Statistical Institiute, and managed to make a dataset of 2018 Parliament Elections at disctrict level.
For each district, we have collected # registered voters per age group, and the # votes collected by all political parties including AKP and CHP. This is how the data looks like:
Columns named between 18-24 and 75+ show the # registered voters within each bucket while akp_vote and chp_vote shows the # votes these 2 parties gained in 2018 parliament elections.
We can do a simple correlation check between each age bucket and # votes per party:
As you can see above clearly, AKP vote counts correlate better with youth (lower age groups) while CHP vote counts correlate better with elderly (higher age groups).
One thing to note though, this data is from 2018 elections, so the trends may have changed since then, however, we can safely say that in 2018, the youth did not necessarily favor CHP compared to AKP. It should be interesting to do this with the data from latest 2024 elections.
Moreover, I think that retiree population in Turkey get unproportional attention. Below chart shows the # registered voters per age group across the country:
As you can see above, there were only 6.9 million registered voters above the age of 65 in 2018.
Compare this with 56.3 million total number of registered voters! Retirees make up only 12.3% of the population in Turkey. Even if CHP can get all their support, it would still fall behind AKP.
Contrast the retiree age bucket with voters between the ages of 18 and 24. This age group alone contains more than 8 million people, more than all the retiree population. Political parties that are succesful at addressing youth problems have a higher chance of winning the elections.
While the analysis we did above is super simple, and it is based on outdated data (2018), we can see that youth support for CHP may not be taken for granted. There was a time in history (2018) where districtis with large youth population voted in favor of AKP.
Additionally, retirees make up only 12.3% of the population. For a political party to become the ruling party in Turkey, it should win the hearts of young & working class of the country.
Turkey is still a very young country, so policies towards younger (45-) age groups will determine the fate of the political parties.
Find the code & data here in this GitHub repository.
Happy hacking!
Leave comment
Comments
Check out other blog posts
2024/06/19
Create A Simple and Dynamic Tooltip With Svelte and JavaScript
2024/06/17
Create an Interactive Map of Tokyo with JavaScript
2024/06/14
How to Easily Fix Japanese Character Issue in Matplotlib
2024/06/13
Book Review | Talking to Strangers: What We Should Know about the People We Don't Know by Malcolm Gladwell
2024/06/07
Most Commonly Used 3,000 Kanjis in Japanese
2024/06/07
Replace With Regex Using VSCode
2024/06/06
Do Not Use Readable Store in Svelte
2024/06/05
Increase Website Load Speed by Compressing Data with Gzip and Pako
2024/05/31
Find the Word the Mouse is Pointing to on a Webpage with JavaScript
2024/05/29
Create an Interactive Map with Svelte using SVG
2024/05/28
Book Review | Originals: How Non-Conformists Move the World by Adam Grant & Sheryl Sandberg
2024/05/27
How to Algorithmically Solve Sudoku Using Javascript
2024/05/26
How I Increased Traffic to my Website by 10x in a Month
2024/05/24
Life is Like Cycling
2024/05/19
Generate a Complete Sudoku Grid with Backtracking Algorithm in JavaScript
2024/05/16
Why Tailwind is Amazing and How It Makes Web Dev a Breeze
2024/05/15
Generate Sitemap Automatically with Git Hooks Using Python
2024/05/14
Book Review | Range: Why Generalists Triumph in a Specialized World by David Epstein
2024/05/13
What is Svelte and SvelteKit?
2024/05/12
Internationalization with SvelteKit (Multiple Language Support)
2024/05/11
Reduce Svelte Deploy Time With Caching
2024/05/10
Lazy Load Content With Svelte and Intersection Oberver
2024/05/10
Find the Optimal Stock Portfolio with a Genetic Algorithm
2024/05/09
Convert ShapeFile To SVG With Python
2024/05/08
Reactivity In Svelte: Variables, Binding, and Key Function
2024/05/07
Book Review | The Art Of War by Sun Tzu
2024/05/06
Specialists Are Dead. Long Live Generalists!
2024/05/01
Create Turkish Voter Profile Database With Web Scraping
2024/04/30
Make Infinite Scroll With Svelte and Tailwind
2024/04/29
How I Reached Japanese Proficiency In Under A Year
2024/04/25
Use-ready Website Template With Svelte and Tailwind
2024/01/29
Lazy Engineers Make Lousy Products
2024/01/28
On Greatness
2024/01/28
Converting PDF to PNG on a MacBook
2023/12/31
Recapping 2023: Compilation of 24 books read
2023/12/30
Create a Photo Collage with Python PIL
2024/01/09
Detect Device & Browser of Visitors to Your Website
2024/01/19
Anatomy of a ChatGPT Response