home / psephology

constituency_area_overlaps

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

3 rows where from_constituency_area_id = 45

✎ View and edit SQL

This data as json, CSV (advanced)

id ▼ from_constituency_residential to_constituency_residential from_constituency_geographical to_constituency_geographical from_constituency_population to_constituency_population from_constituency_area_id to_constituency_area_id formed_from_whole_of forms_whole_of
58 0.86798584 0.82940537 0.8880666 0.87532204 0.8566903 0.8236045 Bexleyheath and Crayford 45 Bexleyheath and Crayford 695 0 0
59 0.018188385 0.013182252 0.005273765 0.004093222 0.023358673 0.016640596 Bexleyheath and Crayford 45 Erith and Thamesmead 866 0 0
60 0.11382575 0.1059024 0.106659636 0.09029546 0.11995107 0.11299012 Bexleyheath and Crayford 45 Old Bexley and Sidcup 1089 0 0

Advanced export

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

CSV options:

CREATE TABLE "constituency_area_overlaps" (
   [id] INTEGER PRIMARY KEY,
   [from_constituency_residential] FLOAT,
   [to_constituency_residential] FLOAT,
   [from_constituency_geographical] FLOAT,
   [to_constituency_geographical] FLOAT,
   [from_constituency_population] FLOAT,
   [to_constituency_population] FLOAT,
   [from_constituency_area_id] INTEGER REFERENCES [constituency_areas]([id]),
   [to_constituency_area_id] INTEGER REFERENCES [constituency_areas]([id]),
   [formed_from_whole_of] INTEGER,
   [forms_whole_of] INTEGER
);
CREATE INDEX [idx_constituency_area_overlaps_to_constituency_area_id]
    ON [constituency_area_overlaps] ([to_constituency_area_id]);
CREATE INDEX [idx_constituency_area_overlaps_from_constituency_area_id]
    ON [constituency_area_overlaps] ([from_constituency_area_id]);
Powered by Datasette · Queries took 11.789ms · Data license: Open Parliament Licence · Data source: UK Parliament election results website