home / psephology

general_election_party_performances

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

6 rows where political_party_id = 7

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: constituency_contested_count, cumulative_vote_count, cumulative_valid_vote_count

id ▼ constituency_contested_count constituency_won_count cumulative_vote_count cumulative_valid_vote_count general_election_id political_party_id
4 128 0 34061 5738244 2 2 Trade Unionist and Socialist Coalition 7
5 0 0 0 0 3 3 Trade Unionist and Socialist Coalition 7
6 0 0 0 0 4 4 Trade Unionist and Socialist Coalition 7
536 5 0 351 276622 5 5 Trade Unionist and Socialist Coalition 7
831 37 0 11913 1493554 1 1 Trade Unionist and Socialist Coalition 7
2315 40 0 12901 1587979 6 6 Trade Unionist and Socialist Coalition 7

Advanced export

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

CSV options:

CREATE TABLE "general_election_party_performances" (
   [id] INTEGER PRIMARY KEY,
   [constituency_contested_count] INTEGER,
   [constituency_won_count] INTEGER,
   [cumulative_vote_count] INTEGER,
   [cumulative_valid_vote_count] INTEGER,
   [general_election_id] INTEGER REFERENCES [general_elections]([id]),
   [political_party_id] INTEGER REFERENCES [political_parties]([id])
);
CREATE INDEX [idx_general_election_party_performances_political_party_id]
    ON [general_election_party_performances] ([political_party_id]);
CREATE INDEX [idx_general_election_party_performances_general_election_id]
    ON [general_election_party_performances] ([general_election_id]);
Powered by Datasette · Queries took 8.063ms · Data license: Open Parliament Licence · Data source: UK Parliament election results website