home / psephology

result_summaries

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

12 rows where from_political_party_id = 3

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: short_summary, is_to_commons_speaker, is_to_independent, to_political_party_id

id ▼ short_summary summary is_from_commons_speaker is_from_independent is_to_commons_speaker is_to_independent from_political_party_id to_political_party_id
1 Lab hold Labour hold 0 0 0 0 Labour 3 Labour 3
3 SNP gain from Lab SNP gain from Labour 0 0 0 0 Labour 3 Scottish National Party 11
13 Con gain from Lab Conservative gain from Labour 0 0 0 0 Labour 3 Conservative 1
19 SNP gain from Lab SNP gain from Labour Co-operative 0 0 0 0 Labour 3 Scottish National Party 11
21 Con gain from Lab Conservative gain from Labour Co-operative 0 0 0 0 Labour 3 Conservative 1
38 Spk gain from Lab Speaker gain from Labour 0 0 1 0 Labour 3  
41 PC gain from Lab Plaid Cymru gain from Labour 0 0 0 0 Labour 3 Plaid Cymru 5
45 LD gain from Lab Liberal Democrat gain from Labour 0 0 0 0 Labour 3 Liberal Democrat 4
46 Green gain from Lab Green Party gain from Labour 0 0 0 0 Labour 3 Green Party 2
52 Ind gain from Lab Independent gain from Labour 0 0 0 1 Labour 3  
57 WPB gain from Lab Workers Party of Britain gain from Labour 0 0 0 0 Labour 3 Workers Party of Britain 261
60 RUK gain from Lab Reform UK gain from Labour 0 0 0 0 Labour 3 Reform UK 257

Advanced export

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

CSV options:

CREATE TABLE "result_summaries" (
   [id] INTEGER PRIMARY KEY,
   [short_summary] TEXT,
   [summary] TEXT,
   [is_from_commons_speaker] INTEGER,
   [is_from_independent] INTEGER,
   [is_to_commons_speaker] INTEGER,
   [is_to_independent] INTEGER,
   [from_political_party_id] INTEGER REFERENCES [political_parties]([id]),
   [to_political_party_id] INTEGER REFERENCES [political_parties]([id])
);
CREATE INDEX [idx_result_summaries_to_political_party_id]
    ON [result_summaries] ([to_political_party_id]);
CREATE INDEX [idx_result_summaries_from_political_party_id]
    ON [result_summaries] ([from_political_party_id]);
Powered by Datasette · Queries took 9.908ms · Data license: Open Parliament Licence · Data source: UK Parliament election results website