Psephology.AI

    Methodology

    Where the data comes from, how it is joined together, and what we know is missing.

    Sources

    • Democracy Club — candidates and results for recent elections, including by-elections, from democracyclub.org.uk. Used under Democracy Club's open data licence, with attribution.
    • Andrew Teale's Local Elections Archive Project — historic local election results by ward, used with attribution.
    • The Elections Centre handbooks (Rallings & Thrasher) — historic local election results and council composition.
    • House of Commons Library and the Electoral Commission — general election and by-election results.
    • Council websites — declarations of results, used to fill and check gaps.

    Every result keeps a record of the source it came from. When two sources disagree, the result is held for review rather than guessed.

    Matching candidates across elections

    Sources rarely share an ID for a person, so the same candidate can appear under slightly different names ("Jon Smith", "J. Smith", "Jonathan Smith"). Psephology.AI joins these records into one person using evidence: name compatibility, the same party, the same or neighbouring areas, and the rule that a person can only hold one seat at a time. Uncertain pairs are researched and either confirmed, rejected or left separate — we would rather show two pages than wrongly merge two people. Merges can be reversed.

    Boundary changes

    Wards are redrawn regularly. A ward keeps its own page for each set of boundaries, and where the change is known we link the old and new wards (split, merged, renamed or abolished) so results can be followed over time. Comparisons in the Insights reports only compare like with like, or say clearly when they cannot.

    Definitions

    Every measure on the site is calculated one way, defined here with a worked example from real results.

    Known gaps

    • Turnout and electorate are missing for many older local elections.
    • Coverage before 1973 is thinner, and some councils' historic results are incomplete.
    • Some ward boundaries are still being matched to their outlines on the map.
    • Northern Ireland local elections use a different voting system and are only partly covered.

    See the coverage page for live counts. Spotted an error? Tell us.