State Election data

100 views
Skip to first unread message

Shabda Raaj

unread,
Mar 11, 2017, 11:09:52 PM3/11/17
to datameet
We pulled the state election results which came out today from the ECI site.

https://github.com/Vizbi/state-elections

There is a python script in the repo which was used to pull this data (requests+beautiful soup).

Ma-roof M

unread,
Mar 12, 2017, 8:37:09 AM3/12/17
to data...@googlegroups.com
ECI has released visualisations of the assembly polls too. Uses Tableau.

-Mahroof

--
Datameet is a community of Data Science enthusiasts in India. Know more about us by visiting http://datameet.org
---
You received this message because you are subscribed to the Google Groups "datameet" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datameet+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Srinivas Karuturi

unread,
Mar 14, 2017, 4:16:37 AM3/14/17
to datameet
I was curious about the data and looked at the number of people with voters at electoralsearch.in and it gives you the count of people with their names and father/husband name along with polling station.

The total records in electoral search and the total electorals on eci.nic.in has a difference. The difference is small but there seems to be a discrepancy

Is there a way we can pull the number of electors per constituency?

Regards,

Srinivas

Bhanu Kamapantula

unread,
Mar 14, 2017, 4:21:10 AM3/14/17
to data...@googlegroups.com
Hi Srinivas,

Electors per constituency data has to be scraped out of the state PDFs at ECI website. Not sure if anyone's done it already.

Best,
Bhanu

--

shantanu choudhary

unread,
Mar 14, 2017, 4:42:46 AM3/14/17
to data...@googlegroups.com
On Tue, Mar 14, 2017 at 1:51 PM, Bhanu Kamapantula <talk...@gmail.com> wrote:
Hi Srinivas,

Electors per constituency data has to be scraped out of the state PDFs at ECI website. Not sure if anyone's done it already.

For UP, there  is Polling Booth wise results available here: http://ceouttarpradesh.nic.in/Form20.aspx It has data for 2012 assembly elections and it gives excel sheet for each booth, and processing it might be easier than parsing PDF. I am not sure if same is available for other states(I didn't find any such listing for Punjab atleast). If you are using Linux I was able to get all excel sheets from 403 booths using this shell script/command:
for i in {1..403}; do wget http://ceouttarpradesh.nic.in/Form20_12/$i.xls; done

--
Regards
Shantanu

Raphael Susewind

unread,
Mar 14, 2017, 4:52:30 AM3/14/17
to data...@googlegroups.com
Hi Srinivas & Shantanu,

for 2007, 2009 (GE), 2012 and 2014 (GE), I already have the Form 20 for
UP scraped here:

https://github.com/raphael-susewind/india-religion-politics/tree/master/upvidhansabha2007

https://github.com/raphael-susewind/india-religion-politics/tree/master/uploksabha2009

https://github.com/raphael-susewind/india-religion-politics/tree/master/upvidhansabha2012

https://github.com/raphael-susewind/india-religion-politics/tree/master/uploksabha2014

The form 20 for 2017 will be added as soon as it is available. Be
careful as the booth ID codes change between elections (and 2007 has
been pre-delimitation anyway).

Cheers,
Raphael
> --
> Datameet is a community of Data Science enthusiasts in India. Know more
> about us by visiting http://datameet.org
> ---
> You received this message because you are subscribed to the Google
> Groups "datameet" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to datameet+u...@googlegroups.com
> <mailto:datameet+u...@googlegroups.com>.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages