view_election (view)
Data source: ParlGov · About: simonw/parlgov-datasette
8 rows where "election_date" is on date 1990-12-02
This data as json, CSV (advanced)
Suggested facets: seats, 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DEU | Germany | parliament | 1990-12-02 | 36.7 | 268 | 662 | CDU | Christlich Demokratische Union | Christian Democratic Union | 6.2503 | 54 | 445 | 588 | 286 | 808 |
DEU | Germany | parliament | 1990-12-02 | 33.5 | 239 | 662 | SPD | Sozialdemokratische Partei Deutschlands | Social Democratic Party of Germany | 3.6451 | 54 | 445 | 588 | 286 | 558 |
DEU | Germany | parliament | 1990-12-02 | 11.1 | 79 | 662 | FDP | Freie Demokratische Partei | Free Democratic Party | 5.9233 | 54 | 445 | 588 | 286 | 543 |
DEU | Germany | parliament | 1990-12-02 | 7.1 | 51 | 662 | CSU | Christlich Soziale Union | Christian Social Union | 7.2871 | 54 | 445 | 588 | 286 | 1180 |
DEU | Germany | parliament | 1990-12-02 | 2.4 | 17 | 662 | PDS|Li | PDS | Die Linke | PDS | The Left | 1.2152 | 54 | 445 | 588 | 286 | 791 |
DEU | Germany | parliament | 1990-12-02 | 1.2 | 8 | 662 | B90/Gr | Bündnis 90 / Grüne – BürgerInnenbewegung | Alliance 90 / Greens -- Citizens' Movement | 2.5 | 54 | 445 | 588 | 286 | 255 |
DEU | Germany | parliament | 1990-12-02 | 3.8 | 0 | 662 | B90/Gru | Bündnis 90 / Die Grünen | Alliance 90 / Greens | 2.9308 | 54 | 445 | 588 | 286 | 772 |
DEU | Germany | parliament | 1990-12-02 | 2.1 | 0 | 662 | Rep | Die Republikaner | The Republicans | 9.2752 | 54 | 445 | 588 | 286 | 524 |
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;