Data

The full database underlying every figure on this site, in two formats. No signup, no rate limit, no abridged view.

Snapshot generated 2026-05-05T16:02:28.106Z · source docs/LEH-{2021..2025}-results-HoC*.xlsx · 5 election cycles, 15,496 races, 22,608 elected seats across 847 council×cycle pairs.

Downloads

Schema

All tables are keyed by year as the leading column; everything else joins on (year, council_slug) and (year, council_slug, ward_slug).

cycles

yearElection year (primary key)
election_dateISO date the polls were held
council_count, race_count, seat_countVolumetrics for the cycle
below_quota_seat_count, below_quota_shareSeats whose marginal candidate share fell below the proportional quota

councils

year, council_slugComposite primary key
councilDisplay name (Lower-tier authority)
authority_typeUC / MD / LB / SD / etc.
race_countWard races in this council in this cycle
total_seats, below_quota_seats, below_quota_sharePer-(year, council) aggregates

races

year, council_slug, ward_slugComposite primary key
ec_codeElectoral Commission ward code where the source provides one (null for 2023)
ward_name, councilDisplay labels
seatsSeats contested in this ward
electorate, ballots, invalid_votesSource figures (some null in earlier years)
valid_ballotsSum of candidate votes — the LEH "Valid vote turnout (HoC method)" denominator
winning_pctMarginal-elected-candidate share of valid ballots
quotaProportional quota: 1.0 / (seats + 1)
under_parquota − winning_pct (positive = below par)
is_below_quota1 when winning_pct < quota

candidates

year, council_slug, ward_slugJoins races
candidate_name, partyPublic election record (party normalised to canonical full name)
votesVotes cast for this candidate
elected1 if elected — recomputed as top-N-by-votes (see methodology)
elected_sourceThe LEH source Elected flag, before our correction; differs on a small number of candidacies where the workbook is internally inconsistent
rank1 = highest-vote candidate in the ward

Licensing

Source data is published by the House of Commons Library under the Open Parliament Licence. Our derived columns (winning_pct, quota, under_par, the below_quota_* aggregates) are released under CC BY-SA 4.0. Attribution: "electionresults.uk".