For recording every election in the UK
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:
[type].[date]
, for examplelocal.2017-05-04
will be the group for all local elections happening on 2017-05-04.[type].[organiation].[date]
, for examplelocal.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
.