home / psephology

constituency_area_overlaps

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

4 rows where from_constituency_area_id = 508

✎ 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
885 0.00025038 0.000258341 2.99661e-06 5.82913e-05 0.0 0.0 South Cambridgeshire 508 Cambridge 761 0 0
886 0.05867835 0.066582784 0.055335652 0.047889233 0.05516841 0.065357044 South Cambridgeshire 508 Ely and East Cambridgeshire 861 0 0
887 0.60547256 0.71587163 0.63115895 0.6742928 0.6028267 0.7217608 South Cambridgeshire 508 South Cambridgeshire 1164 0 0
888 0.33559868 0.3917782 0.31350243 0.5636555 0.3420049 0.40555555 South Cambridgeshire 508 St Neots and Mid Cambridgeshire 1196 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 20.346ms · Data license: Open Parliament Licence · Data source: UK Parliament election results website