home / psephology

constituency_area_overlaps

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

4 rows where from_constituency_area_id = 415

✎ 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
706 0.29054534 0.3318442 0.45661885 0.20967673 0.30166513 0.33385685 North Tyneside 415 Cramlington and Killingworth 805 0 0
707 0.42429912 0.40005645 0.29975608 0.4849775 0.42520803 0.39710844 North Tyneside 415 Newcastle upon Tyne East and Wallsend 1046 0 0
708 0.19603623 0.21549508 0.14376919 0.20184489 0.20169368 0.20149872 North Tyneside 415 Newcastle upon Tyne North 1047 0 0
709 0.089119285 0.10177388 0.09985589 0.12955305 0.07143318 0.08097098 North Tyneside 415 Tynemouth 1245 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 10.582ms · Data license: Open Parliament Licence · Data source: UK Parliament election results website