home / psephology

boundary_set_general_election_party_performances

Data license: Open Parliament Licence · Data source: UK Parliament election results website

6 rows where boundary_set_id = 7 and general_election_id = 4

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: constituency_contested_count, constituency_won_count

id ▼ constituency_contested_count constituency_won_count cumulative_vote_count general_election_id political_party_id boundary_set_id
41 18 0 15828 4 4 Green Party 2 7 7
44 40 22 632035 4 4 Labour 3 7 7
47 32 0 92171 4 4 Liberal Democrat 4 7 7
50 36 4 153265 4 4 Plaid Cymru 5 7 7
55 40 14 557234 4 4 Conservative 1 7 7
75 0 0 0 4 4 UK Independence Party 8 7 7

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE "boundary_set_general_election_party_performances" (
   [id] INTEGER PRIMARY KEY,
   [constituency_contested_count] INTEGER,
   [constituency_won_count] INTEGER,
   [cumulative_vote_count] INTEGER,
   [general_election_id] INTEGER REFERENCES [general_elections]([id]),
   [political_party_id] INTEGER REFERENCES [political_parties]([id]),
   [boundary_set_id] INTEGER REFERENCES [boundary_sets]([id])
);
CREATE INDEX [idx_boundary_set_general_election_party_performances_boundary_set_id]
    ON [boundary_set_general_election_party_performances] ([boundary_set_id]);
CREATE INDEX [idx_boundary_set_general_election_party_performances_political_party_id]
    ON [boundary_set_general_election_party_performances] ([political_party_id]);
CREATE INDEX [idx_boundary_set_general_election_party_performances_general_election_id]
    ON [boundary_set_general_election_party_performances] ([general_election_id]);
Powered by Datasette · Queries took 25.4ms · Data license: Open Parliament Licence · Data source: UK Parliament election results website