Oquilia Elections · Data Lab
Election Data Lab
The Election Data Lab is where we measure Indian elections: maps, charts, rankings, political-science measures and data to download. It is for researchers, and for readers who like their politics in numbers.
Every figure is computed from the Election Commission of India's own result files. None is typed by hand: the pages, the charts and the downloads come from one calculation, and every chart has a table under it with the same numbers.
Methodology: every measure's formula and a worked example · हिन्दी में पढ़ें
In the Lab
- MapUttar Pradesh assembly seat mapEvery assembly constituency of Uttar Pradesh on one geographic map, with layers to switch between and a link from each seat to its own page.
- NumbersUttar Pradesh election statistics, 2012 to 2022Votes into seats, the effective number of parties, volatility, seat flows, margins, turnout, candidates, deposits lost, reserved seats and districts across three assembly elections, with a per-seat download.
- CalculatorUttar Pradesh swing calculatorMove vote shares between parties and see which seats would change on a uniform swing from the last result. Arithmetic on past results, not a forecast.
- MapLok Sabha 2024, State by StateThe 2024 Lok Sabha result in every State and Union Territory, a hexagon map with one cell for each Lok Sabha seat, and the party that led in each assembly segment.
- CalendarAssembly election calendar, every StateWhen each State's assembly term ends and when its next election is due, from the Election Commission's records.
- MethodElection Data Lab: methodologyEvery measure's definition and formula with a worked example, the Election Commission files used, the map credits and the limits of the data.
- StatePunjab assembly elections: seat map and statisticsEvery assembly seat of Punjab on one map with layers for the winning party at each assembly election in the data, the party that led each segment in the last Lok Sabha count, margin and turnout; votes into seats, the effective number of parties, volatility, close seats and deposits lost, with a per-seat download.
- StateUttarakhand assembly elections: seat map and statisticsEvery assembly seat of Uttarakhand on one map with layers for the winning party at each assembly election in the data, the party that led each segment in the last Lok Sabha count, margin and turnout; votes into seats, the effective number of parties, volatility, close seats and deposits lost, with a per-seat download.
- StateGoa assembly elections: seat map and statisticsEvery assembly seat of Goa on one map with layers for the winning party at each assembly election in the data, the party that led each segment in the last Lok Sabha count, margin and turnout; votes into seats, the effective number of parties, volatility, close seats and deposits lost, with a per-seat download.
- StateManipur assembly elections: seat map and statisticsEvery assembly seat of Manipur on one map with layers for the winning party at each assembly election in the data, the party that led each segment in the last Lok Sabha count, margin and turnout; votes into seats, the effective number of parties, volatility, close seats and deposits lost, with a per-seat download.
- StateGujarat assembly elections: seat grid and statisticsEvery assembly seat of Gujarat in a grid with layers for the winning party at each assembly election in the data, the party that led each segment in the last Lok Sabha count, margin and turnout; votes into seats, the effective number of parties, volatility, close seats and deposits lost, with a per-seat download.
- StateHimachal Pradesh assembly elections: seat map and statisticsEvery assembly seat of Himachal Pradesh on one map with layers for the winning party at each assembly election in the data, the party that led each segment in the last Lok Sabha count, margin and turnout; votes into seats, the effective number of parties, volatility, close seats and deposits lost, with a per-seat download.
- MapUttar Pradesh district map: election results by districtEvery district of Uttar Pradesh on one map, with layers for the party that won the most assembly seats, each party's vote share, turnout, margins, NOTA and the 2024 Lok Sabha count by segment, and a page for each district with every seat.
- MapPunjab district map: election results by districtEvery district of Punjab on one map, with layers for the party that won the most assembly seats, each party's vote share, turnout, margins, NOTA and the 2024 Lok Sabha count by segment, and a page for each district with every seat.
- MapUttarakhand district map: election results by districtEvery district of Uttarakhand on one map, with layers for the party that won the most assembly seats, each party's vote share, turnout, margins, NOTA and the 2024 Lok Sabha count by segment, and a page for each district with every seat.
- MapGoa district map: election results by districtEvery district of Goa on one map, with layers for the party that won the most assembly seats, each party's vote share, turnout, margins, NOTA and the 2024 Lok Sabha count by segment, and a page for each district with every seat.
- MapManipur district map: election results by districtEvery district of Manipur on one map, with layers for the party that won the most assembly seats, each party's vote share, turnout, margins, NOTA and the 2024 Lok Sabha count by segment, and a page for each district with every seat.
- MapGujarat district map: election results by districtEvery district of Gujarat on one map, with layers for the party that won the most assembly seats, each party's vote share, turnout, margins, NOTA and the 2024 Lok Sabha count by segment, and a page for each district with every seat.
- MapHimachal Pradesh district map: election results by districtEvery district of Himachal Pradesh on one map, with layers for the party that won the most assembly seats, each party's vote share, turnout, margins, NOTA and the 2024 Lok Sabha count by segment, and a page for each district with every seat.
- AnalysisUttar Pradesh elections: how votes became seats, 2012 to 2022How far each party's share of seats was from its share of votes at three assembly elections: the Gallagher and Loosemore-Hanby indices, the leading party's seat bonus, the votes behind each seat won, and the 2024 Lok Sabha count for comparison.
- AnalysisUttar Pradesh elections: how much of the vote moves, 2012 to 2022Pedersen's volatility index between consecutive assembly elections, statewide and seat by seat: which parties' shares rose and fell, how each party's change was spread across the seats, and in how many seats a party moved the way it moved in the State.
- AnalysisUttar Pradesh MLAs: age, women and candidates, 2012 to 2022Who stands and who wins in Uttar Pradesh, as aggregates only: winners' median age beside all candidates', winners by age band, women among candidates and winners, candidates per seat, the effective number of candidates and deposits lost.
- AnalysisLok Sabha 2024: votes into seats, State by StateEach State's Gallagher index and effective number of parties in the 2024 Lok Sabha election, where seat shares and vote shares were furthest apart and closest, a hexagon map of the gap, and the assembly segments in which each party led in the Lok Sabha count.
From the Lab: Uttar Pradesh in numbers
Downloads
The Lab's data as CSV and JSON, free under CC BY 4.0 with credit to Oquilia and a link. The files hold parties and counts; no person is named.
- Uttar Pradesh election map data: every assembly seat, 2012 to 2024CSVJSON
- Uttar Pradesh: the smallest uniform swing that changes each seat, 2022 and 2024CSVJSON
- Uttar Pradesh assembly elections 2012, 2017 and 2022: turnout, margin and competition measures for every seatCSVJSON
- Lok Sabha 2024: every constituency's result, turnout, margin and NOTACSVJSON
- Lok Sabha 2024: the leading party in every assembly segmentCSVJSON
- State Legislative Assemblies: the term of each house and when it endsCSVJSON
- Punjab assembly elections 2012, 2017 and 2022 and the 2024 Lok Sabha count: every seatCSVJSON
- Uttarakhand assembly elections 2012, 2017 and 2022 and the 2024 Lok Sabha count: every seatCSVJSON
- Goa assembly elections 2012, 2017 and 2022 and the 2024 Lok Sabha count: every seatCSVJSON
- Manipur assembly elections 2012, 2017 and 2022 and the 2024 Lok Sabha count: every seatCSVJSON
- Gujarat assembly elections 2017 and 2022 and the 2024 Lok Sabha count: every seatCSVJSON
- Himachal Pradesh assembly elections 2012, 2017 and 2022 and the 2024 Lok Sabha count: every seatCSVJSON
- Uttar Pradesh assembly elections by district: seats, votes, turnout and NOTA, 2012 to 2022, and the 2024 Lok Sabha count by segmentCSVJSON
- Punjab assembly elections by district: seats, votes, turnout and NOTA, 2012 to 2022, and the 2024 Lok Sabha count by segmentCSVJSON
- Uttarakhand assembly elections by district: seats, votes, turnout and NOTA, 2012 to 2022, and the 2024 Lok Sabha count by segmentCSVJSON
- Goa assembly elections by district: seats, votes, turnout and NOTA, 2012 to 2022, and the 2024 Lok Sabha count by segmentCSVJSON
- Manipur assembly elections by district: seats, votes, turnout and NOTA, 2012 to 2022, and the 2024 Lok Sabha count by segmentCSVJSON
- Gujarat assembly elections by district: seats, votes, turnout and NOTA, 2017 to 2022, and the 2024 Lok Sabha count by segmentCSVJSON
- Himachal Pradesh assembly elections by district: seats, votes, turnout and NOTA, 2012 to 2022, and the 2024 Lok Sabha count by segmentCSVJSON
The Lab's rules
- Facts and arithmetic only. No forecasts, no seat projections, no opinion or exit polls, and no ratings of parties or leaders.
- The same table, the same columns and the same colour rule for every party. A party is named as the Election Commission's list names it.
- The swing calculator is arithmetic on past results, not a forecast.
- A seat's category (general, SC, ST) is the Commission's and is shown only as a count; nothing about voters or candidates is inferred from it.
Methodology: every measure's formula and a worked example
Corrections
If a figure in the Lab differs from the Commission's own file, write to editor@oquilia.com with the page, the seat and the year: we correct it and say so on that page.