home / psephology

elections

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

12 rows where result_summary_id = 7 and "writ_issued_on" is on date 2010-04-12

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: invalid_vote_count, polling_on (date), declaration_at (date), writ_issued_on (date)

id ▼ polling_on is_notional valid_vote_count invalid_vote_count majority declaration_at constituency_group_id general_election_id result_summary_id electorate_id parliament_period_id writ_issued_on
2708 2010-05-06 0 42493 77 66 2010-05-07T06:57:00 Camborne and Redruth 108 1 1 7 7 2707 2707 55 55 2010-04-12
2866 2010-05-06 0 53134 75 1039 2010-05-07T02:44:00 Harrogate and Knaresborough 266 1 1 7 7 2865 2865 55 55 2010-04-12
2879 2010-05-06 0 48381 72 2481 2010-05-07T04:08:00 Hereford and South Herefordshire 279 1 1 7 7 2878 2878 55 55 2010-04-12
2975 2010-05-06 0 33813 58 1184 2010-05-07T02:21:00 Montgomeryshire 375 1 1 7 7 2974 2974 55 55 2010-04-12
2993 2010-05-06 0 48283 76 523 2010-05-07T03:19:00 Newton Abbot 393 1 1 7 7 2992 2992 55 55 2010-04-12
3039 2010-05-06 0 56480 119 176 2010-05-07T04:22:00 Oxford West and Abingdon 439 1 1 7 7 3038 3038 55 55 2010-04-12
3067 2010-05-06 0 59268 130 4091 2010-05-07T05:53:00 Richmond Park 467 1 1 7 7 3066 3066 55 55 2010-04-12
3072 2010-05-06 0 48939 90 4156 2010-05-07T03:46:00 Romsey and Southampton North 472 1 1 7 7 3071 3071 55 55 2010-04-12
3113 2010-05-06 0 49617 72 3220 2010-05-07T04:51:00 South East Cornwall 513 1 1 7 7 3112 3112 55 55 2010-04-12
3183 2010-05-06 0 48768 73 435 2010-05-07T07:26:00 Truro and Falmouth 583 1 1 7 7 3182 3182 55 55 2010-04-12
3227 2010-05-06 0 55955 105 3048 2010-05-07T05:34:00 Winchester 627 1 1 7 7 3226 3226 55 55 2010-04-12
3250 2010-05-06 0 53300 75 3688 2010-05-07T04:28:00 York Outer 650 1 1 7 7 3249 3249 55 55 2010-04-12

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE "elections" (
   [id] INTEGER PRIMARY KEY,
   [polling_on] TEXT,
   [is_notional] INTEGER,
   [valid_vote_count] INTEGER,
   [invalid_vote_count] INTEGER,
   [majority] INTEGER,
   [declaration_at] TEXT,
   [constituency_group_id] INTEGER REFERENCES [constituency_groups]([id]),
   [general_election_id] INTEGER REFERENCES [general_elections]([id]),
   [result_summary_id] INTEGER REFERENCES [result_summaries]([id]),
   [electorate_id] INTEGER REFERENCES [electorates]([id]),
   [parliament_period_id] INTEGER REFERENCES [parliament_periods]([id]),
   [writ_issued_on] TEXT
);
CREATE INDEX [idx_elections_parliament_period_id]
    ON [elections] ([parliament_period_id]);
CREATE INDEX [idx_elections_electorate_id]
    ON [elections] ([electorate_id]);
CREATE INDEX [idx_elections_result_summary_id]
    ON [elections] ([result_summary_id]);
CREATE INDEX [idx_elections_general_election_id]
    ON [elections] ([general_election_id]);
CREATE INDEX [idx_elections_constituency_group_id]
    ON [elections] ([constituency_group_id]);
Powered by Datasette · Queries took 18.185ms · Data license: Open Parliament Licence · Data source: UK Parliament election results website