view_election (view)
Data source: ParlGov · About: simonw/parlgov-datasette
9 rows where "election_date" is on date 2020-03-02
This data as json, CSV (advanced)
Suggested facets: vote_share, seats, 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ISR | Israel | parliament | 2020-03-02 | 29.46 | 36 | 120 | L | Likud | The Consolidation | 6.6788 | 34 | 1090 | 1079 | 1613 | 678 |
ISR | Israel | parliament | 2020-03-02 | 26.59 | 33 | 120 | KL | Kahol Lavan | Blue and White | 6.0 | 34 | 1090 | 1079 | 1613 | 2725 |
ISR | Israel | parliament | 2020-03-02 | 12.67 | 15 | 120 | R|H | Rakah | Hadash | New Communist List | Democratic Front | 1.3 | 34 | 1090 | 1079 | 1613 | 732 |
ISR | Israel | parliament | 2020-03-02 | 7.69 | 9 | 120 | Shas | Shomrei Sfarad | Sephardi Guardians | 7.0417 | 34 | 1090 | 1079 | 1613 | 788 |
ISR | Israel | parliament | 2020-03-02 | 5.98 | 7 | 120 | YaToMe | Yahadut HaTora HaMeuhedet | United Torah Judaism | 6.9396 | 34 | 1090 | 1079 | 1613 | 1303 |
ISR | Israel | parliament | 2020-03-02 | 5.24 | 7 | 120 | YB | Yisrael Beiteinu | Israel Our Home | 8.8 | 34 | 1090 | 1079 | 1613 | 1816 |
ISR | Israel | parliament | 2020-03-02 | 5.83 | 7 | 120 | Ma|Av | HaMa'arakh | HaAvoda | Alignment | Labor | 3.3 | 34 | 1090 | 1079 | 1613 | 244 |
ISR | Israel | parliament | 2020-03-02 | 5.24 | 6 | 120 | Y | Yamina | Rightwards | 8.8 | 34 | 1090 | 1079 | 1613 | 2726 |
ISR | Israel | parliament | 2020-03-02 | 0.42 | 0 | 120 | OL | Otzma Leyisrael | Jewish Power | 34 | 1090 | 1079 | 1613 | 2322 |
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;