view_election (view)
Data source: ParlGov · About: simonw/parlgov-datasette
11 rows where "election_date" is on date 2013-04-27
This data as json, CSV (advanced)
Suggested facets: seats, left_right
country_name_short | country_name | election_type | election_date | vote_share | seats | seats_total | party_name_short | party_name | party_name_english | left_right | country_id | election_id | previous_parliament_election_id | previous_cabinet_id | party_id |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ISL | Iceland | parliament | 2013-04-27 | 26.7 | 19 | 63 | Sj | Sjálfstæðisflokkurinn | Independence Party | 7.4854 | 56 | 798 | 36 | 651 | 1342 |
ISL | Iceland | parliament | 2013-04-27 | 24.43 | 19 | 63 | F | Framsóknarflokkurinn | Progressive Party | 5.0365 | 56 | 798 | 36 | 651 | 1455 |
ISL | Iceland | parliament | 2013-04-27 | 12.85 | 9 | 63 | Sam | Samfylkingin | Social Democratic Alliance | 4.0789 | 56 | 798 | 36 | 651 | 1006 |
ISL | Iceland | parliament | 2013-04-27 | 10.87 | 7 | 63 | Graen | Vinstrihreyfingin – grænt framboð | Left-Green Movement | 1.1842 | 56 | 798 | 36 | 651 | 210 |
ISL | Iceland | parliament | 2013-04-27 | 8.25 | 6 | 63 | BF | Björt framtíð | Bright Future | 6.0 | 56 | 798 | 36 | 651 | 2204 |
ISL | Iceland | parliament | 2013-04-27 | 5.1 | 3 | 63 | Pi | Pírata | Pirate Party | 2.5 | 56 | 798 | 36 | 651 | 2205 |
ISL | Iceland | parliament | 2013-04-27 | 3.1 | 0 | 63 | Dawn | Dögun – stjórnmálasamtök um réttlæti, sanngirni og lýðræði | Dawn -- Organization of justice, fairness and democracy | 56 | 798 | 36 | 651 | 2206 | |
ISL | Iceland | parliament | 2013-04-27 | 3.02 | 0 | 63 | FH | Flokkur Heimilanna | Households Party | 56 | 798 | 36 | 651 | 2207 | |
ISL | Iceland | parliament | 2013-04-27 | 2.46 | 0 | 63 | IDP | Lýðræðisvaktin | Iceland Democratic Party | 2.5 | 56 | 798 | 36 | 651 | 2208 |
ISL | Iceland | parliament | 2013-04-27 | 1.73 | 0 | 63 | HG | Hægri Grænir flokkur fólksins | RIght-Green People's Party | 6.0 | 56 | 798 | 36 | 651 | 2209 |
ISL | Iceland | parliament | 2013-04-27 | 1.07 | 0 | 63 | Rebo | Regnboginn | Rainbow | 1.3 | 56 | 798 | 36 | 651 | 2210 |
Advanced export
JSON shape: default, array, newline-delimited
CREATE VIEW view_election AS SELECT c.name_short AS country_name_short, c.name AS country_name, ii.short AS election_type, e.date AS election_date, vote_share, seats, seats_total, p.name_short AS party_name_short, p.name AS party_name, p.name_english AS party_name_english, vpp.left_right AS left_right, e.country_id AS country_id, er.election_id AS election_id, e.previous_parliament_election_id AS previous_parliament_election_id, e.previous_cabinet_id AS previous_cabinet_id, er.party_id AS party_id FROM (SELECT * FROM election_result WHERE vote_share NOT NULL OR seats NOT NULL) er LEFT OUTER JOIN election e ON er.election_id = e.id LEFT OUTER JOIN party p ON er.party_id = p.id LEFT OUTER JOIN viewcalc_party_position AS vpp ON er.party_id = vpp.party_id LEFT OUTER JOIN country c ON e.country_id = c.id LEFT OUTER JOIN info_id ii ON e.type_id = ii.id ORDER BY c.name_short, e.date, er.seats DESC;