home / psephology

constituency_area_overlaps

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

6 rows where to_constituency_area_id = 1275

✎ 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
354 0.38215652 0.42349765 0.6304247 0.16465771 0.38243842 0.43617654 Elmet and Rothwell 212 Wetherby and Easingwold 1275 0 0
440 0.04874005 0.05816227 0.20822616 0.03275049 0.04609462 0.053430814 Harrogate and Knaresborough 266 Wetherby and Easingwold 1275 0 0
542 0.001142832 0.001210259 0.019715602 0.000705099 0.0 0.0 Leeds East 321 Wetherby and Easingwold 1275 0 0
845 0.24039873 0.27447283 0.42021698 0.37824214 0.23822454 0.276534 Selby and Ainsty 490 Wetherby and Easingwold 1275 0 0
871 0.042300183 0.049923196 0.034039266 0.07568953 0.04198955 0.04683455 Skipton and Ripon 501 Wetherby and Easingwold 1275 0 0
1013 0.1577093 0.1927338 0.15328641 0.34795502 0.16791466 0.1870241 Thirsk and Malton 572 Wetherby and Easingwold 1275 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 7.826ms · Data license: Open Parliament Licence · Data source: UK Parliament election results website