Twitter Sentiment Analysis of Indian Election 2019
Posted by Neeraj Somani
Updated: Sep 20, 2019
This is not just any other year for India; 2019 is the year of India's future because a new leader has to get elected. The leader can make India the world's fastest growing economy or can diminish all the dreams of India's progress. India is one of the biggest democratic countries in the world. It has the potential to also become the most powerful country with a leadership that would harness its capability. .
In this 2019 National Election (lok-sabha election) there are 3 major parties participating. Two of them are old player in this game. The ones in "Congress" are from a party that dates back to December 1885, though India’s independence only dates officially to August 1947. There is also theBJP, also known as Bharatiya Janta Party that was established in April-1980. There is one more party,AAP, also known as Aam Aadmi Party that recently got established in November 2012 and garnered a lot of praise in a few parts of India and becoming a great competitor for the other two long-established parties. Every party has chosen their leader, and it is shaping up to be a very interesting competition among them for the election. Let me elaborate on that using this project and analysis twitter sentiments on this election.
I chose this project because it’s a very sensitive time now in India, which makes it the optimal time-frame for this project. I started this project around 20th May, and the election result was coming out on 23rd May. So I got to validate my findings right away in a real-world scenario. In working on this project, I applied web-scrappy, data analysis, and most importantly, the basics of NLP (Natural Language Processing).
I divided my project in the steps listed below:
- Scrape all the tweets for the period of 01-Jan-2019 to 23-May-2019.
- Clean, Filter and apply NLP techniques to prepare data for Analysis
- Apply Python data analysis techniques to find meaningful insights
- Find the indications on Twitter of who would win the election.