OquiliaOquilia

Open data · CC BY 4.0

Uttar Pradesh assembly elections 2012, 2017 and 2022: turnout, margin and competition measures for every seat

One row for each Uttar Pradesh assembly constituency at each of the 2012, 2017 and 2022 general elections: electors, voters and turnout, the winning and second party, the margin in votes and as a share of the votes counted, the winner's share, NOTA's share, the effective number of candidates, the number of candidates and of women candidates, and the deposits lost under the one-sixth rule, computed from the Election Commission of India's result files. Parties and counts only; each seat's page has every candidate.

Rows
1,209
Columns
21
Last updated
28 November 2026
Covers
2012 to 2022

Licence and credit

Free to reuse, including commercially, under CC BY 4.0. Credit Oquilia and link to this page:

Source: <a href="https://www.oquilia.com/data/election-lab-up-numbers">Oquilia</a>, CC BY 4.0

The data comes from www.oquilia.com/elections/lab/uttar-pradesh-numbers. More on reuse: how to use our work.

Read before you use it

  • Election Commission of India files: the detailed constituency results and Constituency Data Summary of the 2012, 2017 and 2022 Uttar Pradesh assembly general elections. By-elections are not included.
  • Shares are per cent of the votes counted in the seat for candidates and NOTA (none of the above). The effective number of candidates and deposits lost are computed on the votes polled for candidates, NOTA left out.
  • The 2017 Constituency Data Summary leaves out some seats: their voters and turnout are empty, and their votes and electors come from the 2017 detailed results.
  • Deposits lost are computed from the votes; added up by party they equal the forfeited deposits the Commission prints in its Performance of Political Parties tables for all three elections.
  • Measures are defined, with worked examples, at https://www.oquilia.com/elections/lab/methodology.

Columns

ColumnTypeWhat it holds
election_yearintegerYear of the assembly general election: 2012, 2017 or 2022.
acintegerAssembly constituency number.
constituencytextConstituency, as the Commission spells it in 2022.
zilatextDistrict (zila) the seat is in, as the Commission spells it today.
seat_categorytextGEN, SC or ST: the Commission's category of the seat (2012 as printed in 2012; 2017 and 2022 as printed in 2022).
electorsintegerElectors on the roll.
votersintegerTotal voters in the Constituency Data Summary; empty for the seats the 2017 summary leaves out.
turnout_pctnumberVoters as per cent of electors; empty where voters is empty.
votes_countedintegerVotes counted for candidates and NOTA: the denominator of every share in this file.
winner_partytextParty of the winner, as the Commission abbreviates it; IND is an independent.
runner_up_partytextParty of the runner-up.
margin_votesintegerWinner's votes less the runner-up's.
margin_pctnumberThat margin as per cent of the votes counted.
winner_share_pctnumberWinner's votes as per cent of the votes counted.
nota_votesintegerVotes for NOTA (none of the above); empty for 2012, before NOTA.
nota_share_pctnumberNOTA as per cent of the votes counted.
effective_candidatesnumberEffective number of candidates (Laakso-Taagepera): 1 over the sum of the squared shares of the votes polled for candidates.
candidatesintegerCandidates in the seat.
women_candidatesintegerCandidates the Commission records as female.
deposits_lostintegerCandidates who polled not more than one-sixth of the votes polled for candidates and were not elected (section 158, Representation of the People Act, 1951), computed from the votes.
oquilia_pageurlThe seat's page on Oquilia, with every candidate's votes.

Source documents

First 10 rows

election_yearacconstituencyzilaseat_categoryelectors
2,0121BehatSaharanpurGEN3,03,273
2,0122NakurSaharanpurGEN2,98,985
2,0123Saharanpur NagarSaharanpurGEN3,49,364
2,0124SaharanpurSaharanpurGEN2,76,294
2,0125DeobandSaharanpurGEN2,92,273
2,0126Rampur ManiharanSaharanpurSC2,66,686
2,0127GangohSaharanpurGEN3,17,224
2,0128KairanaShamliGEN2,69,228
2,0129Thana BhawanShamliGEN2,85,142
2,01210ShamliShamliGEN2,76,329

The downloads have every row and every column.

Errors and requests

Found an error, or need the data in another shape? Write to editor@oquilia.com with the row and, for a correction, the document that shows it. Corrections are recorded on the source page and in our corrections log.