result_summaries
Data license: Open Parliament Licence · Data source: UK Parliament election results website
4 rows where to_political_party_id = 5
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 |
---|---|---|---|---|---|---|---|---|
5 | PC hold | Plaid Cymru hold | 0 | 0 | 0 | 0 | Plaid Cymru 5 | Plaid Cymru 5 |
28 | PC gain from LD | Plaid Cymru gain from LD | 0 | 0 | 0 | 0 | Liberal Democrat 4 | Plaid Cymru 5 |
41 | PC gain from Lab | Plaid Cymru gain from Labour | 0 | 0 | 0 | 0 | Labour 3 | Plaid Cymru 5 |
53 | PC gain from Con | Plaid Cymru gain from Conservative | 0 | 0 | 0 | 0 | Conservative 1 | Plaid Cymru 5 |
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]);