OquiliaOquilia

Open data · CC BY 4.0

Uttar Pradesh: the smallest uniform swing that changes each seat, 2022 and 2024

Arithmetic on past results, not a forecast. For each of Uttar Pradesh's assembly constituencies, on two bases (the 2022 assembly election, and the 2024 Lok Sabha count by assembly segment): the parties of the first and second candidates, the votes counted, the margin, and the smallest uniform swing from the first to the second at which the two are level (half the margin as a share of the votes counted), from the Election Commission of India's result files. Parties and counts only.

Rows
806
Columns
11
Last updated
28 November 2026
Covers
2022 to 2024

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-swing">Oquilia</a>, CC BY 4.0

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

Read before you use it

  • Arithmetic on past results, not a forecast.
  • swing_points is half the margin as a share of the votes counted: the uniform swing from the first party's candidate to the second's at which the two are level. Any larger swing changes the result.
  • Uniform swing assumes the same change in every seat and ignores turnout changes, new candidates and seat arrangements between parties.
  • The lok-sabha-2024 rows are the Lok Sabha count by assembly segment (EVM votes, no postal ballots), not an assembly result. No by-election is included.

Columns

ColumnTypeWhat it holds
basetextassembly-2022: the 2022 assembly election. lok-sabha-2024: the 2024 Lok Sabha count in the assembly segment (EVM votes, report 34).
ac_nointegerAssembly constituency number.
seattextConstituency name, in the 2022 detailed results' spelling.
zilatextDistrict (zila) the seat is in.
first_partytextParty of the candidate with the most votes (the winner in 2022; the segment's leader in 2024).
second_partytextParty of the candidate with the second most votes (IND for an independent).
votes_countedintegerVotes counted for candidates and NOTA: the denominator of every share.
margin_votesintegerThe first candidate's votes minus the second's.
margin_pctnumberThe margin as a percentage of the votes counted.
swing_pointsnumberThe smallest uniform swing from the first party to the second at which the two are level, in percentage points: half of margin_pct. Arithmetic on a past result, not a forecast.
seat_urlurlThe seat's page on Oquilia.

Source documents

First 10 rows

baseac_noseatzilafirst_partysecond_party
assembly-20221BehatSaharanpurSPBJP
assembly-20222NakurSaharanpurBJPSP
assembly-20223Saharanpur NagarSaharanpurBJPSP
assembly-20224SaharanpurSaharanpurSPBJP
assembly-20225DeobandSaharanpurBJPSP
assembly-20226Rampur ManiharanSaharanpurBJPBSP
assembly-20227GangohSaharanpurBJPSP
assembly-20228KairanaShamliSPBJP
assembly-20229Thana BhawanShamliRLDBJP
assembly-202210ShamliShamliRLDBJP

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.