result_summaries
Data license: Open Parliament Licence · Data source: UK Parliament election results website
3 rows where to_political_party_id = 2
This data as json, CSV (advanced)
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 |
---|---|---|---|---|---|---|---|---|
15 | Green hold | Green hold | 0 | 0 | 0 | 0 | Green Party 2 | Green Party 2 |
46 | Green gain from Lab | Green Party gain from Labour | 0 | 0 | 0 | 0 | Labour 3 | Green Party 2 |
56 | Green gain from Con | Green Party gain from Conservative | 0 | 0 | 0 | 0 | Conservative 1 | Green Party 2 |
Advanced export
JSON shape: default, array, newline-delimited, object
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]);