Skip to content

DemocracyClub/EveryElection

Folders and files

NameName
Last commit message
Last commit date
Nov 11, 2024
Jan 6, 2025
Jan 7, 2025
Aug 1, 2023
Jan 9, 2025
Mar 8, 2018
Nov 19, 2024
Nov 23, 2022
Jan 19, 2023
Aug 6, 2024
Oct 24, 2024
Aug 8, 2017
Oct 24, 2024
Oct 7, 2016
Jan 25, 2021
Nov 19, 2024
Mar 28, 2023
Jan 19, 2023
Oct 18, 2023
Oct 24, 2024
Jan 19, 2023
Jan 14, 2025
Jan 14, 2025
Jan 14, 2025
Jan 13, 2025
Jan 14, 2025

EveryElection

Build Status Coverage Status Code style: black

For recording every election in the UK

Domain Model

Elections

The elections table stores a list of election objects, each with a semantic ID.

Election IDs sometimes have a parent, and are sometimes a "group ID".

There are two types of group ID:

  1. [type].[date], for example local.2017-05-04 will be the group for all local elections happening on 2017-05-04.
  2. [type].[organiation].[date], for example local.norfolk.2017-05-04 is the Norfolk County Council elections.

Finally an ID is made per ballot paper using [type].[organiation].[organisation division].[date] for example local.norfolk.diss.2017-05-04.

See the reference for more information.

Graph