Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
LICENSE.md
README.md
download.pl
results.csv
transform.pl
upvidhansabha2007-a.sql
upvidhansabha2007-b.sql
upvidhansabha2007.csv

README.md

Data on religion and politics in India

upvidhansabha2007

This table contains booth-level (form 20) results for the 2007 Vidhan Sabha election in Uttar Pradesh.

Variables

name description
id unique code for each row, in case one ever needs it
ac_id_07 ID code of the assembly segment assigned by the Election Commission
booth_id_07 ID code of the polling booth assigned by the Election Commission (together with ac_id_07, this should suffice for matching with other tables)
electors_07 Number of registered electors
turnout_07 Number of actual voters
turnout_percent_07 turnout_07 divided by electors_07
male_votes_07 Number of male voters
female_votes_07 Number of female voters
female_votes_percent_07 female_votes_07 divided by turnout_07
votes_*_07 Number of votes polled by party *
votes_*_percent_07 votes_*_07 divided by turnout_07

Raw data

Originally, this data was crawled using download.pl on October 13, 2012 from http://ceouttarpradesh.nic.in/Form20.aspx.

The data came in excel files, which I manually copy-and-pasted into results.csv since the format differed too much for any automated solution. This file was then cleaned up and an SQL dump prepared through transform.pl for integration into the main database

License

While the database in its entirety is subject to an ODC Open Database License, as explained in the main README and LICENSE files, the content of this specific table is factual data, and as such only subject to a simple ODC Database Contents License. Code used for crawling and compilation is subject to a CC-BY-NC-SA 4.0 license.