home / psephology

result_summaries

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

8 rows where to_political_party_id = 1

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: short_summary, is_from_commons_speaker, from_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
2 Con hold Conservative hold 0 0 0 0 Conservative 1 Conservative 1
7 Con gain from LD Conservative gain from Liberal Democrats 0 0 0 0 Liberal Democrat 4 Conservative 1
13 Con gain from Lab Conservative gain from Labour 0 0 0 0 Labour 3 Conservative 1
21 Con gain from Lab Conservative gain from Labour Co-operative 0 0 0 0 Labour 3 Conservative 1
24 Con gain from SNP Conservative gain from SNP 0 0 0 0 Scottish National Party 11 Conservative 1
29 Con gain from UKIP Conservative gain from UKIP 0 0 0 0 UK Independence Party 8 Conservative 1
37 Con gain from Spk Conservative gain from Speaker 1 0 0 0   Conservative 1
50 Con gain from KHHC Conservative gain from Independent Kidderminster Hospital and Health Concern 0 0 0 0 Independent Kidderminster Hospital and Health Concern 127 Conservative 1

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 13.908ms · Data license: Open Parliament Licence · Data source: UK Parliament election results website