view_election (view)
Data source: ParlGov · About: simonw/parlgov-datasette
8 rows where "election_date" is on date 1948-07-02
This data as json, CSV (advanced)
Suggested facets: election_date (date)
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FIN | Finland | parliament | 1948-07-02 | 24.2 | 56 | 200 | KESK | Keskusta | Centre Party | 5.8027 | 67 | 187 | 101 | 125 | 94 |
FIN | Finland | parliament | 1948-07-02 | 26.3 | 54 | 200 | SSDP | Suomen Sosialidemokraattinen Puolue – Finlands Socialdemokratiska Parti | Social Democratic Party of Finland | 3.5595 | 67 | 187 | 101 | 125 | 395 |
FIN | Finland | parliament | 1948-07-02 | 20.0 | 38 | 200 | DL|VAS | Demokraattinen Liitto – Demokratiska Förbundet | Vasemmistoliitto – Vänsterförbundet | Democratic Union | Left Alliance | 2.1843 | 67 | 187 | 101 | 125 | 1292 |
FIN | Finland | parliament | 1948-07-02 | 17.0 | 33 | 200 | KOK | Kansallinen Kokoomus – Samlingspartiet | National Coalition Party | 7.2451 | 67 | 187 | 101 | 125 | 1118 |
FIN | Finland | parliament | 1948-07-02 | 7.3 | 13 | 200 | RKP-SFP | Ruotsalainen Kansanpuolue – Svenska Folkepartiet i Finland | Swedish People's Party | 6.3906 | 67 | 187 | 101 | 125 | 585 |
FIN | Finland | parliament | 1948-07-02 | 3.9 | 5 | 200 | KE|SLK | Kansallinen Edistyspuolue | [Suomen] Liberaalinen Kansanpuolue | National Progressive Party | [Finnish] Liberal People's Party | 5.7167 | 67 | 187 | 101 | 125 | 1219 |
FIN | Finland | parliament | 1948-07-02 | 0.4 | 1 | 200 | AS | Åländsk Samling | Aland Coalition | 67 | 187 | 101 | 125 | 66 | |
FIN | Finland | parliament | 1948-07-02 | 0.29 | 0 | 200 | PMP | Pienviljelijäin ja maalaiskansan puolue | Party of Smallholders and Rural People | 5.3 | 67 | 187 | 101 | 125 | 2293 |
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;