home / psephology

constituency_area_overlaps

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

3 rows where to_constituency_area_id = 1208

✎ 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
913 0.43411765 0.43870077 0.35924202 0.23694405 0.45524183 0.46644628 South Staffordshire 520 Stone, Great Wyrley and Penkridge 1208 0 0
954 0.2793994 0.31591213 0.7401082 0.5189688 0.28218785 0.30341774 Stafford 540 Stone, Great Wyrley and Penkridge 1208 0 0
977 0.24990314 0.2453871 0.16311398 0.24408714 0.24688265 0.23013596 Stone 551 Stone, Great Wyrley and Penkridge 1208 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.307ms · Data license: Open Parliament Licence · Data source: UK Parliament election results website