home / psephology

country_general_election_party_performances

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

12 rows where political_party_id = 5

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: constituency_contested_count, constituency_won_count, cumulative_vote_count, general_election_id, country_id

id ▼ constituency_contested_count constituency_won_count cumulative_vote_count general_election_id political_party_id country_id
148 40 3 181704 2 2 Plaid Cymru 5 Great Britain 1
149 40 4 164466 3 3 Plaid Cymru 5 Great Britain 1
150 36 4 153265 4 4 Plaid Cymru 5 Great Britain 1
566 40 3 181704 2 2 Plaid Cymru 5 Wales 6
567 40 4 164466 3 3 Plaid Cymru 5 Wales 6
568 36 4 153265 4 4 Plaid Cymru 5 Wales 6
606 31 2 153265 5 5 Plaid Cymru 5 Great Britain 1
725 31 2 153265 5 5 Plaid Cymru 5 Wales 6
764 40 3 165394 1 1 Plaid Cymru 5 Great Britain 1
1005 40 3 165394 1 1 Plaid Cymru 5 Wales 6
2360 32 4 194811 6 6 Plaid Cymru 5 Great Britain 1
2537 32 4 194811 6 6 Plaid Cymru 5 Wales 6

Advanced export

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

CSV options:

CREATE TABLE "country_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]),
   [country_id] INTEGER REFERENCES [countries]([id])
);
CREATE INDEX [idx_country_general_election_party_performances_country_id]
    ON [country_general_election_party_performances] ([country_id]);
CREATE INDEX [idx_country_general_election_party_performances_political_party_id]
    ON [country_general_election_party_performances] ([political_party_id]);
CREATE INDEX [idx_country_general_election_party_performances_general_election_id]
    ON [country_general_election_party_performances] ([general_election_id]);
Powered by Datasette · Queries took 7.496ms · Data license: Open Parliament Licence · Data source: UK Parliament election results website