Local elections datasets
Published by
Covers
Years
Areas
Measures
Each measure is one kind of value you can request, using its id.
| Measure | Unit | Combining areas |
|---|---|---|
Local election effective voteslocal-election-effective-votes | Votes | Adds up |
Local election turnoutlocal-election-turnout | Percent | Not combined |
Local election votes for Conservativelocal-election-con-votes | Votes | Adds up |
Local election votes for Greenlocal-election-green-votes | Votes | Adds up |
Local election votes for Independentlocal-election-ind-votes | Votes | Adds up |
Local election votes for Labourlocal-election-lab-votes | Votes | Adds up |
Local election votes for Liberal Democratlocal-election-ld-votes | Votes | Adds up |
Local election votes for Other candidateslocal-election-other-votes | Votes | Adds up |
Local election votes for Plaid Cymrulocal-election-pc-votes | Votes | Adds up |
Local election votes for Reformlocal-election-ref-votes | Votes | Adds up |
Local election votes for UKIPlocal-election-ukip-votes | Votes | Adds up |
Local election winning partylocal-election-winning-party | Party | Not combined |
“Adds up” means you can total it over areas or convert it to other areas. See Measures and periods for why some can't be combined.
Areas and years
Request each of these with its geography and code year as geography and codeYear.
| Areas | Code year | Periods | Covers | Records |
|---|---|---|---|---|
| Wards | 2016 | 2016 | England and Wales | 2,210 |
| Wards | 2017 | 2017 | England and Wales | 1,392 |
| Wards | 2018 | 2018 | England | 2,748 |
| Wards | 2019 | 2019 | England | 5,273 |
| Wards | 2021 | 2021 | England | 2,497 |
| Wards | 2022 | 2022 | England and Wales | 3,531 |
| Wards | 2023 | 2023 | England | 4,792 |
| Wards | 2024 | 2024 | England | 1,903 |
| Wards | 2025 | 2025 | England | 513 |
Things to know
- The sum across parties of each party's highest-polling candidate's votes in each ward, the House of Commons Library's basis for vote share in multi-member wards, applied to every polling year. It is not a count of ballot papers, and not every candidate's votes added up.
- 3981 source rows with county-electoral-division codes is excluded from this ward measure. Historical county-electoral-division boundary vintages are not yet published by the API.
- Turnout is a percentage of the electorate, so it does not add across areas. A combined turnout needs the summed electorate as its denominator.
- The Local Elections Archive Project files for 2016–2019 do not publish electorate or turnout, so those polling years are deliberately absent rather than represented as zero turnout.
- Votes for Conservative. An area where the party did not stand is recorded as zero votes; this is a count, not a vote share.
- Only the party's highest-polling candidate in a ward counts, so a party fielding several candidates in a multi-member ward is counted once. Independents are counted the same way, and every other party or group as its own party within Other candidates.
Show 10 moreShow fewer
- Votes for Green. An area where the party did not stand is recorded as zero votes; this is a count, not a vote share.
- Votes for Independent. An area where the party did not stand is recorded as zero votes; this is a count, not a vote share.
- Votes for Labour. An area where the party did not stand is recorded as zero votes; this is a count, not a vote share.
- Votes for Liberal Democrat. An area where the party did not stand is recorded as zero votes; this is a count, not a vote share.
- Votes for Other candidates. An area where the party did not stand is recorded as zero votes; this is a count, not a vote share.
- Votes for Plaid Cymru. An area where the party did not stand is recorded as zero votes; this is a count, not a vote share.
- Votes for Reform. An area where the party did not stand is recorded as zero votes; this is a count, not a vote share.
- Votes for UKIP. An area where the party did not stand is recorded as zero votes; this is a count, not a vote share.
- The label records the party that won the source area. It is not a numeric score, and a group of areas can have a distribution of winners rather than one additive outcome.
- A winning-party label has no numeric order and cannot be summed, averaged, ranked or converted across areas.
Corrections and improvements
These reviewed changes apply to what the API serves for this data. The publisher's source files are not changed; when a code correction applies, the served record retains the publisher's code as sourceAreaCode.
| Change | What the API serves | Applies when |
|---|---|---|
| Historical local-election ward-code repairs | The API serves 12 same-extent wards on the polling-year code and retains the LEAP code as sourceAreaCode; all values and winning-party labels are unchanged. | GET /v1/data/local-election-{measure}?period={period}&geography=ward&boundaryYear={boundaryYear} |
| Opt-in canonical measure-unit presentation | On the explicit canonical request, each numeric value and any publisher-supplied interval bound is multiplied by the measure's declared scale; the response names the resulting unit and calculation. | GET /v1/data/{measure-id}?units=canonical |
curl "https://api.ukdataatlas.com/v1/documents/corrections.json"/documents/{document-id}.jsonDownload a build evidence documentRequest it
Get the first page of local-election-effective-votes for wards:
curl "https://api.ukdataatlas.com/v1/data/local-election-effective-votes?period=2016&geography=ward&codeYear=2016&limit=5"Read the measure's full definition, including every period it's published for:
curl "https://api.ukdataatlas.com/v1/measures/local-election-effective-votes"/data/{measure-id}Get observationsget/data/{measure-id}/seriesGet a time seriesSource and licence
| Dataset | Publisher | Licence |
|---|---|---|
| Local Election Results | House of Commons Library (2021–2025); Local Elections Archive Project (2016–2019) | Open Parliament Licence (2021–2025); CC BY-SA 3.0 (2016–2019) |
Using this data in something you publish? Get attribution text with measure=local-election-effective-votes returns the credit line to include.
Downloads
Download complete publisher-observation files instead of paging through the API. Each file has a stable hash and covers one measure, period set and source geography. Any reviewed served code correction is documented and retains its publisher code on the affected record. The source and licence information above applies to these files too; preserve the attribution and note any cleaning or reformatting when you redistribute one. CSV and Parquet contain the named measure across all periods. JSON retains the complete source artifact, which may include other measures in a shared table. Sizes are rounded up to the nearest KB before HTTP compression.
| Measure | Coverage | Records | Download |
|---|---|---|---|
Local election votes for Conservativelocal-election-con-votes | Wards · 2016 · code year 2016 | 2,210 | JSON (127 KB)CSV (237 KB)Parquet (13 KB) |
Local election votes for Conservativelocal-election-con-votes | Wards · 2017 · code year 2017 | 1,392 | JSON (79 KB)CSV (149 KB)Parquet (8 KB) |
Local election votes for Conservativelocal-election-con-votes | Wards · 2018 · code year 2018 | 2,748 | JSON (158 KB)CSV (296 KB)Parquet (16 KB) |
Local election votes for Conservativelocal-election-con-votes | Wards · 2019 · code year 2019 | 5,273 | JSON (302 KB)CSV (565 KB)Parquet (28 KB) |
Local election votes for Conservativelocal-election-con-votes | Wards · 2021 · code year 2021 | 2,497 | JSON (144 KB)CSV (269 KB)Parquet (15 KB) |
Local election votes for Conservativelocal-election-con-votes | Wards · 2022 · code year 2022 | 3,531 | JSON (202 KB)CSV (379 KB)Parquet (19 KB) |
Local election votes for Conservativelocal-election-con-votes | Wards · 2023 · code year 2023 | 4,792 | JSON (274 KB)CSV (514 KB)Parquet (26 KB) |
Local election votes for Conservativelocal-election-con-votes | Wards · 2024 · code year 2024 | 1,903 | JSON (109 KB)CSV (204 KB)Parquet (12 KB) |
Local election votes for Conservativelocal-election-con-votes | Wards · 2025 · code year 2025 | 513 | JSON (30 KB)CSV (56 KB)Parquet (5 KB) |
Local election effective voteslocal-election-effective-votes | Wards · 2016 · code year 2016 | 2,210 | JSON (129 KB)CSV (252 KB)Parquet (14 KB) |
Local election effective voteslocal-election-effective-votes | Wards · 2017 · code year 2017 | 1,392 | JSON (81 KB)CSV (159 KB)Parquet (9 KB) |
Local election effective voteslocal-election-effective-votes | Wards · 2018 · code year 2018 | 2,748 | JSON (160 KB)CSV (314 KB)Parquet (17 KB) |
Local election effective voteslocal-election-effective-votes | Wards · 2019 · code year 2019 | 5,273 | JSON (305 KB)CSV (600 KB)Parquet (29 KB) |
Local election effective voteslocal-election-effective-votes | Wards · 2021 · code year 2021 | 2,497 | JSON (145 KB)CSV (285 KB)Parquet (15 KB) |
Local election effective voteslocal-election-effective-votes | Wards · 2022 · code year 2022 | 3,531 | JSON (205 KB)CSV (403 KB)Parquet (20 KB) |
Local election effective voteslocal-election-effective-votes | Wards · 2023 · code year 2023 | 4,792 | JSON (278 KB)CSV (546 KB)Parquet (27 KB) |
Local election effective voteslocal-election-effective-votes | Wards · 2024 · code year 2024 | 1,903 | JSON (111 KB)CSV (218 KB)Parquet (12 KB) |
Local election effective voteslocal-election-effective-votes | Wards · 2025 · code year 2025 | 513 | JSON (30 KB)CSV (59 KB)Parquet (5 KB) |
Local election votes for Greenlocal-election-green-votes | Wards · 2016 · code year 2016 | 2,210 | JSON (125 KB)CSV (240 KB)Parquet (12 KB) |
Local election votes for Greenlocal-election-green-votes | Wards · 2017 · code year 2017 | 1,392 | JSON (78 KB)CSV (150 KB)Parquet (7 KB) |
Local election votes for Greenlocal-election-green-votes | Wards · 2018 · code year 2018 | 2,748 | JSON (155 KB)CSV (298 KB)Parquet (14 KB) |
Local election votes for Greenlocal-election-green-votes | Wards · 2019 · code year 2019 | 5,273 | JSON (296 KB)CSV (570 KB)Parquet (23 KB) |
Local election votes for Greenlocal-election-green-votes | Wards · 2021 · code year 2021 | 2,497 | JSON (141 KB)CSV (271 KB)Parquet (13 KB) |
Local election votes for Greenlocal-election-green-votes | Wards · 2022 · code year 2022 | 3,531 | JSON (199 KB)CSV (382 KB)Parquet (16 KB) |
Local election votes for Greenlocal-election-green-votes | Wards · 2023 · code year 2023 | 4,792 | JSON (269 KB)CSV (519 KB)Parquet (22 KB) |
Local election votes for Greenlocal-election-green-votes | Wards · 2024 · code year 2024 | 1,903 | JSON (108 KB)CSV (207 KB)Parquet (11 KB) |
Local election votes for Greenlocal-election-green-votes | Wards · 2025 · code year 2025 | 513 | JSON (29 KB)CSV (56 KB)Parquet (5 KB) |
Local election votes for Independentlocal-election-ind-votes | Wards · 2016 · code year 2016 | 2,210 | JSON (123 KB)CSV (233 KB)Parquet (9 KB) |
Local election votes for Independentlocal-election-ind-votes | Wards · 2017 · code year 2017 | 1,392 | JSON (79 KB)CSV (148 KB)Parquet (8 KB) |
Local election votes for Independentlocal-election-ind-votes | Wards · 2018 · code year 2018 | 2,748 | JSON (153 KB)CSV (290 KB)Parquet (11 KB) |
Local election votes for Independentlocal-election-ind-votes | Wards · 2019 · code year 2019 | 5,273 | JSON (294 KB)CSV (557 KB)Parquet (21 KB) |
Local election votes for Independentlocal-election-ind-votes | Wards · 2021 · code year 2021 | 2,497 | JSON (139 KB)CSV (264 KB)Parquet (11 KB) |
Local election votes for Independentlocal-election-ind-votes | Wards · 2022 · code year 2022 | 3,531 | JSON (197 KB)CSV (373 KB)Parquet (14 KB) |
Local election votes for Independentlocal-election-ind-votes | Wards · 2023 · code year 2023 | 4,792 | JSON (267 KB)CSV (506 KB)Parquet (20 KB) |
Local election votes for Independentlocal-election-ind-votes | Wards · 2024 · code year 2024 | 1,903 | JSON (106 KB)CSV (201 KB)Parquet (9 KB) |
Local election votes for Independentlocal-election-ind-votes | Wards · 2025 · code year 2025 | 513 | JSON (29 KB)CSV (55 KB)Parquet (4 KB) |
Local election votes for Labourlocal-election-lab-votes | Wards · 2016 · code year 2016 | 2,210 | JSON (128 KB)CSV (238 KB)Parquet (13 KB) |
Local election votes for Labourlocal-election-lab-votes | Wards · 2017 · code year 2017 | 1,392 | JSON (79 KB)CSV (149 KB)Parquet (8 KB) |
Local election votes for Labourlocal-election-lab-votes | Wards · 2018 · code year 2018 | 2,748 | JSON (159 KB)CSV (296 KB)Parquet (16 KB) |
Local election votes for Labourlocal-election-lab-votes | Wards · 2019 · code year 2019 | 5,273 | JSON (300 KB)CSV (564 KB)Parquet (27 KB) |
Local election votes for Labourlocal-election-lab-votes | Wards · 2021 · code year 2021 | 2,497 | JSON (144 KB)CSV (268 KB)Parquet (14 KB) |
Local election votes for Labourlocal-election-lab-votes | Wards · 2022 · code year 2022 | 3,531 | JSON (203 KB)CSV (379 KB)Parquet (19 KB) |
Local election votes for Labourlocal-election-lab-votes | Wards · 2023 · code year 2023 | 4,792 | JSON (273 KB)CSV (513 KB)Parquet (25 KB) |
Local election votes for Labourlocal-election-lab-votes | Wards · 2024 · code year 2024 | 1,903 | JSON (110 KB)CSV (205 KB)Parquet (12 KB) |
Local election votes for Labourlocal-election-lab-votes | Wards · 2025 · code year 2025 | 513 | JSON (30 KB)CSV (55 KB)Parquet (5 KB) |
Local election votes for Liberal Democratlocal-election-ld-votes | Wards · 2016 · code year 2016 | 2,210 | JSON (125 KB)CSV (233 KB)Parquet (12 KB) |
Local election votes for Liberal Democratlocal-election-ld-votes | Wards · 2017 · code year 2017 | 1,392 | JSON (78 KB)CSV (147 KB)Parquet (8 KB) |
Local election votes for Liberal Democratlocal-election-ld-votes | Wards · 2018 · code year 2018 | 2,748 | JSON (156 KB)CSV (291 KB)Parquet (15 KB) |
Local election votes for Liberal Democratlocal-election-ld-votes | Wards · 2019 · code year 2019 | 5,273 | JSON (298 KB)CSV (556 KB)Parquet (25 KB) |
Local election votes for Liberal Democratlocal-election-ld-votes | Wards · 2021 · code year 2021 | 2,497 | JSON (142 KB)CSV (264 KB)Parquet (14 KB) |
Local election votes for Liberal Democratlocal-election-ld-votes | Wards · 2022 · code year 2022 | 3,531 | JSON (200 KB)CSV (373 KB)Parquet (17 KB) |
Local election votes for Liberal Democratlocal-election-ld-votes | Wards · 2023 · code year 2023 | 4,792 | JSON (271 KB)CSV (506 KB)Parquet (24 KB) |
Local election votes for Liberal Democratlocal-election-ld-votes | Wards · 2024 · code year 2024 | 1,903 | JSON (108 KB)CSV (202 KB)Parquet (11 KB) |
Local election votes for Liberal Democratlocal-election-ld-votes | Wards · 2025 · code year 2025 | 513 | JSON (30 KB)CSV (55 KB)Parquet (5 KB) |
Local election votes for Other candidateslocal-election-other-votes | Wards · 2016 · code year 2016 | 2,210 | JSON (123 KB)CSV (238 KB)Parquet (10 KB) |
Local election votes for Other candidateslocal-election-other-votes | Wards · 2017 · code year 2017 | 1,392 | JSON (78 KB)CSV (150 KB)Parquet (7 KB) |
Local election votes for Other candidateslocal-election-other-votes | Wards · 2018 · code year 2018 | 2,748 | JSON (153 KB)CSV (296 KB)Parquet (12 KB) |
Local election votes for Other candidateslocal-election-other-votes | Wards · 2019 · code year 2019 | 5,273 | JSON (293 KB)CSV (567 KB)Parquet (20 KB) |
Local election votes for Other candidateslocal-election-other-votes | Wards · 2021 · code year 2021 | 2,497 | JSON (139 KB)CSV (269 KB)Parquet (11 KB) |
Local election votes for Other candidateslocal-election-other-votes | Wards · 2022 · code year 2022 | 3,531 | JSON (196 KB)CSV (380 KB)Parquet (14 KB) |
Local election votes for Other candidateslocal-election-other-votes | Wards · 2023 · code year 2023 | 4,792 | JSON (266 KB)CSV (515 KB)Parquet (19 KB) |
Local election votes for Other candidateslocal-election-other-votes | Wards · 2024 · code year 2024 | 1,903 | JSON (106 KB)CSV (205 KB)Parquet (9 KB) |
Local election votes for Other candidateslocal-election-other-votes | Wards · 2025 · code year 2025 | 513 | JSON (29 KB)CSV (56 KB)Parquet (4 KB) |
Local election votes for Plaid Cymrulocal-election-pc-votes | Wards · 2016 · code year 2016 | 2,210 | JSON (122 KB)CSV (231 KB)Parquet (8 KB) |
Local election votes for Plaid Cymrulocal-election-pc-votes | Wards · 2017 · code year 2017 | 1,392 | JSON (78 KB)CSV (146 KB)Parquet (7 KB) |
Local election votes for Plaid Cymrulocal-election-pc-votes | Wards · 2018 · code year 2018 | 2,748 | JSON (152 KB)CSV (287 KB)Parquet (10 KB) |
Local election votes for Plaid Cymrulocal-election-pc-votes | Wards · 2019 · code year 2019 | 5,273 | JSON (291 KB)CSV (549 KB)Parquet (17 KB) |
Local election votes for Plaid Cymrulocal-election-pc-votes | Wards · 2021 · code year 2021 | 2,497 | JSON (138 KB)CSV (260 KB)Parquet (9 KB) |
Local election votes for Plaid Cymrulocal-election-pc-votes | Wards · 2022 · code year 2022 | 3,531 | JSON (196 KB)CSV (369 KB)Parquet (13 KB) |
Local election votes for Plaid Cymrulocal-election-pc-votes | Wards · 2023 · code year 2023 | 4,792 | JSON (264 KB)CSV (499 KB)Parquet (15 KB) |
Local election votes for Plaid Cymrulocal-election-pc-votes | Wards · 2024 · code year 2024 | 1,903 | JSON (105 KB)CSV (199 KB)Parquet (7 KB) |
Local election votes for Plaid Cymrulocal-election-pc-votes | Wards · 2025 · code year 2025 | 513 | JSON (29 KB)CSV (54 KB)Parquet (4 KB) |
Local election votes for Reformlocal-election-ref-votes | Wards · 2016 · code year 2016 | 2,210 | JSON (122 KB)CSV (233 KB)Parquet (8 KB) |
Local election votes for Reformlocal-election-ref-votes | Wards · 2017 · code year 2017 | 1,392 | JSON (77 KB)CSV (147 KB)Parquet (6 KB) |
Local election votes for Reformlocal-election-ref-votes | Wards · 2018 · code year 2018 | 2,748 | JSON (152 KB)CSV (289 KB)Parquet (10 KB) |
Local election votes for Reformlocal-election-ref-votes | Wards · 2019 · code year 2019 | 5,273 | JSON (291 KB)CSV (554 KB)Parquet (17 KB) |
Local election votes for Reformlocal-election-ref-votes | Wards · 2021 · code year 2021 | 2,497 | JSON (138 KB)CSV (263 KB)Parquet (9 KB) |
Local election votes for Reformlocal-election-ref-votes | Wards · 2022 · code year 2022 | 3,531 | JSON (195 KB)CSV (372 KB)Parquet (12 KB) |
Local election votes for Reformlocal-election-ref-votes | Wards · 2023 · code year 2023 | 4,792 | JSON (265 KB)CSV (504 KB)Parquet (17 KB) |
Local election votes for Reformlocal-election-ref-votes | Wards · 2024 · code year 2024 | 1,903 | JSON (106 KB)CSV (201 KB)Parquet (8 KB) |
Local election votes for Reformlocal-election-ref-votes | Wards · 2025 · code year 2025 | 513 | JSON (30 KB)CSV (56 KB)Parquet (5 KB) |
Local election turnoutlocal-election-turnout | Wards · 2021 · code year 2021 | 2,497 | JSON (145 KB)CSV (270 KB)Parquet (14 KB) |
Local election turnoutlocal-election-turnout | Wards · 2022 · code year 2022 | 3,531 | JSON (205 KB)CSV (381 KB)Parquet (18 KB) |
Local election turnoutlocal-election-turnout | Wards · 2023 · code year 2023 | 4,792 | JSON (277 KB)CSV (517 KB)Parquet (25 KB) |
Local election turnoutlocal-election-turnout | Wards · 2024 · code year 2024 | 1,903 | JSON (132 KB)CSV (227 KB)Parquet (21 KB) |
Local election turnoutlocal-election-turnout | Wards · 2025 · code year 2025 | 513 | JSON (37 KB)CSV (62 KB)Parquet (7 KB) |
Local election votes for UKIPlocal-election-ukip-votes | Wards · 2016 · code year 2016 | 2,210 | JSON (125 KB)CSV (238 KB)Parquet (12 KB) |
Local election votes for UKIPlocal-election-ukip-votes | Wards · 2017 · code year 2017 | 1,392 | JSON (78 KB)CSV (149 KB)Parquet (7 KB) |
Local election votes for UKIPlocal-election-ukip-votes | Wards · 2018 · code year 2018 | 2,748 | JSON (153 KB)CSV (293 KB)Parquet (12 KB) |
Local election votes for UKIPlocal-election-ukip-votes | Wards · 2019 · code year 2019 | 5,273 | JSON (294 KB)CSV (562 KB)Parquet (21 KB) |
Local election votes for UKIPlocal-election-ukip-votes | Wards · 2021 · code year 2021 | 2,497 | JSON (138 KB)CSV (265 KB)Parquet (9 KB) |
Local election votes for UKIPlocal-election-ukip-votes | Wards · 2022 · code year 2022 | 3,531 | JSON (195 KB)CSV (375 KB)Parquet (12 KB) |
Local election votes for UKIPlocal-election-ukip-votes | Wards · 2023 · code year 2023 | 4,792 | JSON (264 KB)CSV (509 KB)Parquet (16 KB) |
Local election votes for UKIPlocal-election-ukip-votes | Wards · 2024 · code year 2024 | 1,903 | JSON (105 KB)CSV (202 KB)Parquet (7 KB) |
Local election votes for UKIPlocal-election-ukip-votes | Wards · 2025 · code year 2025 | 513 | JSON (29 KB)CSV (55 KB)Parquet (4 KB) |
Local election winning partylocal-election-winning-party | Wards · 2016 · code year 2016 | 2,210 | JSON (138 KB)CSV (246 KB)Parquet (9 KB) |
Local election winning partylocal-election-winning-party | Wards · 2017 · code year 2017 | 1,392 | JSON (87 KB)CSV (155 KB)Parquet (7 KB) |
Local election winning partylocal-election-winning-party | Wards · 2018 · code year 2018 | 2,748 | JSON (171 KB)CSV (306 KB)Parquet (11 KB) |
Local election winning partylocal-election-winning-party | Wards · 2019 · code year 2019 | 5,273 | JSON (328 KB)CSV (586 KB)Parquet (19 KB) |
Local election winning partylocal-election-winning-party | Wards · 2021 · code year 2021 | 2,497 | JSON (156 KB)CSV (278 KB)Parquet (10 KB) |
Local election winning partylocal-election-winning-party | Wards · 2022 · code year 2022 | 3,531 | JSON (219 KB)CSV (392 KB)Parquet (13 KB) |
Local election winning partylocal-election-winning-party | Wards · 2023 · code year 2023 | 4,792 | JSON (298 KB)CSV (533 KB)Parquet (18 KB) |
Local election winning partylocal-election-winning-party | Wards · 2024 · code year 2024 | 1,903 | JSON (119 KB)CSV (212 KB)Parquet (8 KB) |
Local election winning partylocal-election-winning-party | Wards · 2025 · code year 2025 | 513 | JSON (32 KB)CSV (57 KB)Parquet (4 KB) |