home / psephology

boundary_set_general_election_party_performances

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

10 rows where political_party_id = 2

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: constituency_won_count, general_election_id, boundary_set_id

id ▼ constituency_contested_count constituency_won_count cumulative_vote_count general_election_id political_party_id boundary_set_id
24 502 1 1073259 2 2 Green Party 2 6 6
25 447 1 507199 3 3 Green Party 2 6 6
26 454 1 819769 4 4 Green Party 2 6 6
39 35 0 38344 2 2 Green Party 2 7 7
40 10 0 5128 3 3 Green Party 2 7 7
41 18 0 15828 4 4 Green Party 2 7 7
81 298 1 258950 1 1 Green Party 2 6 6
86 13 0 6293 1 1 Green Party 2 7 7
257 542 4 1781462 6 6 Green Party 2 1 1
263 32 0 61662 6 6 Green Party 2 2 2

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 8.288ms · Data license: Open Parliament Licence · Data source: UK Parliament election results website