home / psephology

constituency_area_overlaps

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

3 rows where from_constituency_area_id = 636

✎ 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
1140 0.14148858 0.12608077 0.1301163 0.11732605 0.13820292 0.119469024 Wolverhampton South East 636 Tipton and Wednesbury 1234 0 0
1141 0.7421027 0.6046553 0.7318316 0.5895324 0.73279154 0.5939932 Wolverhampton South East 636 Wolverhampton South East 1288 0 0
1142 0.11640874 0.09261105 0.13805208 0.11259576 0.12900555 0.11233604 Wolverhampton South East 636 Wolverhampton West 1289 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 8.48ms · Data license: Open Parliament Licence · Data source: UK Parliament election results website