view_election (view)
Data source: ParlGov · About: simonw/parlgov-datasette
14 rows where "election_date" is on date 2020-10-11
This data as json, CSV (advanced)
Suggested facets: left_right, 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LTU | Lithuania | parliament | 2020-10-11 | 25.77 | 50 | 141 | TS-LK | Tėvynės sąjunga | Homeland Union | 7.4004 | 15 | 1091 | 1009 | 1615 | 1045 |
LTU | Lithuania | parliament | 2020-10-11 | 18.07 | 32 | 141 | LVLS | Lietuvos valstiečių sąjunga | Lithuanian Peasant Union | 3.2687 | 15 | 1091 | 1009 | 1615 | 191 |
LTU | Lithuania | parliament | 2020-10-11 | 9.58 | 13 | 141 | LSDP | Lietuvos socialdemokratų partija | Lithuanian Social Democratic Party | 3.1972 | 15 | 1091 | 1009 | 1615 | 1277 |
LTU | Lithuania | parliament | 2020-10-11 | 7.04 | 13 | 141 | LRLS | Lietuvos Respublikos liberalų sąjūdis | Liberals Movement of the Republic of Lithuania | 7.7562 | 15 | 1091 | 1009 | 1615 | 482 |
LTU | Lithuania | parliament | 2020-10-11 | 9.45 | 11 | 141 | LP | Laisvės partija | Freedom Party | 6.0 | 15 | 1091 | 1009 | 1615 | 2805 |
LTU | Lithuania | parliament | 2020-10-11 | 9.77 | 10 | 141 | DP | Darbo partija | Labour Party | 3.86 | 15 | 1091 | 1009 | 1615 | 581 |
LTU | Lithuania | parliament | 2020-10-11 | 4 | 141 | none | no party affiliation | no party affiliation | 15 | 1091 | 1009 | 1615 | 58 | ||
LTU | Lithuania | parliament | 2020-10-11 | 4.97 | 3 | 141 | LLRA | Lietuvos lenkų rinkimų akcija | Election Action of Lithuania's Poles | 3.865 | 15 | 1091 | 1009 | 1615 | 28 |
LTU | Lithuania | parliament | 2020-10-11 | 3.28 | 3 | 141 | LSDDP | Lietuvos socialdemokratų darbo partija | Social Democratic Labour Party of Lithuania | 3.3 | 15 | 1091 | 1009 | 1615 | 2763 |
LTU | Lithuania | parliament | 2020-10-11 | 2.06 | 1 | 141 | LLS | Lietuvos laisvės sąjunga (liberalai) | Lithuanian Freedom Union (Liberals) | 6.0 | 15 | 1091 | 1009 | 1615 | 2634 |
LTU | Lithuania | parliament | 2020-10-11 | 1.7 | 1 | 141 | LZP | Lietuvos žalioji partija | Lithuanian Green Party | 2.5 | 15 | 1091 | 1009 | 1615 | 21 |
LTU | Lithuania | parliament | 2020-10-11 | 2.36 | 0 | 141 | LCP | Lietuvos Centro Partija | Lithuanian Centre Party | 8.8 | 15 | 1091 | 1009 | 1615 | 2635 |
LTU | Lithuania | parliament | 2020-10-11 | 2.21 | 0 | 141 | K-VRS | VRK – Vytautas Radžvilas: susigrąžinkime valstybę! | PEC -- Vytautas Radzvilas: Recover the State! | 15 | 1091 | 1009 | 1615 | 2762 | |
LTU | Lithuania | parliament | 2020-10-11 | 1.18 | 0 | 141 | DK | Drąsos kelias | The Way of Courage | 15 | 1091 | 1009 | 1615 | 2121 |
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;