home / psephology

constituency_area_overlaps

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

4 rows where to_constituency_area_id = 651

✎ 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
1373 0.80032957 0.6215438 0.89631575 0.6701764 0.81075215 0.6111093 Aberavon 1 Aberafan Maesteg 651 0 0
1409 0.015729442 0.012636534 0.07544609 0.08029894 0.016728215 0.013150056 Neath 381 Aberafan Maesteg 651 0 0
1417 0.17345549 0.1514099 0.24112755 0.086155884 0.17045218 0.15965295 Bridgend 84 Aberafan Maesteg 651 0 0
1419 0.26433966 0.21440977 0.20069419 0.16336882 0.25779563 0.2160877 Ogmore 432 Aberafan Maesteg 651 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 9.728ms · Data license: Open Parliament Licence · Data source: UK Parliament election results website