home / psephology

constituency_area_overlaps

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

5 rows where to_constituency_area_id = 830

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: from_constituency_population, to_constituency_population

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
1233 1.96333e-05 2.25048e-05 0.001210992 0.001042245 0.0 0.0 Berwickshire, Roxburgh and Selkirk 40 Dumfriesshire, Clydesdale and Tweeddale 830 0 0
1243 0.014682737 0.016586024 0.029765759 0.027658697 0.006640273 0.007126959 Dumfries and Galloway 180 Dumfriesshire, Clydesdale and Tweeddale 830 0 0
1246 0.9584361 0.9361764 0.98020035 0.9603775 0.96315783 0.93835294 Dumfriesshire, Clydesdale and Tweeddale 181 Dumfriesshire, Clydesdale and Tweeddale 830 0 0
1257 0.0 0.0 0.000265197 2.42472e-05 0.0 0.0 East Kilbride, Strathaven and Lesmahagow 195 Dumfriesshire, Clydesdale and Tweeddale 830 0 0
1315 0.041941546 0.047215033 0.13387255 0.010897281 0.04913084 0.05452011 Lanark and Hamilton East 318 Dumfriesshire, Clydesdale and Tweeddale 830 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 11.994ms · Data license: Open Parliament Licence · Data source: UK Parliament election results website