home / psephology

constituency_area_overlaps

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

4 rows where to_constituency_area_id = 896

✎ 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
411 0.23808491 0.2692711 0.66092235 0.36137703 0.23195781 0.26710215 Guildford 255 Godalming and Ash 896 0 0
644 0.058683068 0.05812008 0.11974889 0.12821163 0.05736238 0.056832194 Mole Valley 373 Godalming and Ash 896 0 0
932 0.4156126 0.44425604 0.6361697 0.4726505 0.41253793 0.46116924 South West Surrey 528 Godalming and Ash 896 0 0
991 0.20852858 0.22835279 0.12050062 0.037760835 0.18774094 0.21489641 Surrey Heath 560 Godalming and Ash 896 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.9ms · Data license: Open Parliament Licence · Data source: UK Parliament election results website