DemocracyClub / EveryElection

:ballot_box_with_check: For recording every election in the UK

Home Page:https://elections.democracyclub.org.uk/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

:ballot_box_with_check: For recording every election in the UK

https://elections.democracyclub.org.uk/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 93.1%Language:HTML 5.7%Language:JavaScript 0.5%Language:Shell 0.4%Language:SCSS 0.3%Language:CSS 0.0%