Exploratory Analysis of Indian Election Data

20
EXPLORATORY ANALYSIS OF INDIAN ELECTION DATA PRATAP VARDHAN

Transcript of Exploratory Analysis of Indian Election Data

Page 1: Exploratory Analysis of Indian Election Data

EXPLORATORY ANALYSIS

OF INDIAN

ELECTION DATA 

PRATAP VARDHANOPEN DATA CAMP 2014

 INDIAN SCHOOL OF BUSINESS

Page 2: Exploratory Analysis of Indian Election Data

OVERVIEW

Scraping the ECI’s site on Counting Day Wealth and Crimes

Bellwethers and Bastions Politics of non-reserved territories

A B

C D

And, one more thing..

E

Page 3: Exploratory Analysis of Indian Election Data

SCRAPING THE ECI’S SITE ON COUNTING DAY

Page 4: Exploratory Analysis of Indian Election Data

HTTP://ECIRESULTS.NIC.IN/STATEWISES01.HTM?ST=S01Python Snippet

Page 5: Exploratory Analysis of Indian Election Data

PAGE SOURCE STRUCTURE

Python Function

Page 6: Exploratory Analysis of Indian Election Data

HTTP://ECIRESULTS.NIC.IN/CONSTITUENCYWISES018.HTM?AC=8Python Snippet

Page 7: Exploratory Analysis of Indian Election Data

IN 2014 ELECTIONS, WHICH STATE ‘PRODUCED’ MOST NUMBER OF

CROREPATI CANDIDATES?AND

WHICH STATE HAS HIGHEST % OF CROREPATI CANDIDATES?

Page 8: Exploratory Analysis of Indian Election Data

GEOGRAPHY OF CANDIDATE WEALTHUttar Pradesh, with over 400 crorepati candidates, tops the list.

The North-eastern states have the largest percentage of crorepati candidates.

Number of Candidates Percentage of Crorepati Candidates

Page 9: Exploratory Analysis of Indian Election Data

AMONG THE MAINSTREAM PARTIES,

WHICH PARTY HAS HIGHEST % OF CRIMINAL

CANDIDATES?

Page 10: Exploratory Analysis of Indian Election Data

CRIMINAL CASES

MNS seems like a winner here. Closely followed by RJD, MDMK

Size: Number of candidatesColor: % of criminal candidates

Page 11: Exploratory Analysis of Indian Election Data

RELATIONSHIP: WEALTH AND CRIME

The percentage of criminal cases increases as wealth level increases.

Page 12: Exploratory Analysis of Indian Election Data

BELLWETHERS AND BASTIONS

Page 13: Exploratory Analysis of Indian Election Data

BELLWETHERS

Page 14: Exploratory Analysis of Indian Election Data

BREAKING THE BASTIONS

Page 15: Exploratory Analysis of Indian Election Data

DO PARTIES GIVE GENERAL SEATS TO SC & ST

CANDIDATES?

Page 16: Exploratory Analysis of Indian Election Data

POLITICS OF NON-RESERVED TERRITORIES

*Assembly seats from 2004-2013

Regional heavy-weights SAD, DMK, PMK, TRS, and INLD have not given a single non-reserved seat to any SC/ST candidates.

SDF, AGP and JKPDP, which topped in ST candidates list, didn’t give a seat to SC candidates in non-reserved seats.

Though, SC candidates’ participation is higher, ST candidates’ winnability is much higher.

Page 17: Exploratory Analysis of Indian Election Data

WINNABILITY IN NON-RESERVED SEATS

*Assembly seats from 2004-2013

SP lost all the general seats where it fielded a SC candidate and won only one general seat where it fielded ST candidate.

CPM, CPI, JD(U) lost all the general seats where it fielded a ST candidate.

Page 18: Exploratory Analysis of Indian Election Data

AND, ONE MORE THING..

NAMESAKES OF 2014 ELECTIONS

Page 19: Exploratory Analysis of Indian Election Data

CHANDU LALS OF MAHASAMUND

Winner’s Margin: 1,217 votes

Namesakes' polled: 60,000+ votes