home / psephology

constituency_area_overlaps

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

4 rows where to_constituency_area_id = 984

✎ 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
56 0.047714368 0.05412191 0.017887237 0.026405584 0.05618973 0.062254574 Bexhill and Battle 44 Lewes 984 0 0
337 0.07237024 0.08593136 0.19241911 0.030034006 0.07015215 0.080562286 Eastbourne 202 Lewes 984 0 0
560 0.8917651 0.8468693 0.8049042 0.83675945 0.88092685 0.8417161 Lewes 329 Lewes 984 0 0
1075 0.012160461 0.01307746 0.06715115 0.10680098 0.01336112 0.01546704 Wealden 606 Lewes 984 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 13.234ms · Data license: Open Parliament Licence · Data source: UK Parliament election results website