view_election (view)
Data source: ParlGov · About: simonw/parlgov-datasette
122 rows where "election_date" is on date 1989-06-18
This data as json, CSV (advanced)
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LUX | Luxembourg | parliament | 1989-06-18 | 2.66 | 0 | 60 | NB | National Bewegong | National Movement | 8.8 | 7 | 526 | 183 | 175 | 374 |
NLD | Netherlands | ep | 1989-06-18 | 34.6 | 10 | 25 | CDA | Christen Democratisch Appèl | Christian Democratic Appeal | 5.9376 | 8 | 587 | 62 | 550 | 235 |
NLD | Netherlands | ep | 1989-06-18 | 30.7 | 8 | 25 | PvdA | Partij van de Arbeid | Labour Party | 3.6118 | 8 | 587 | 62 | 550 | 742 |
NLD | Netherlands | ep | 1989-06-18 | 13.63 | 3 | 25 | VVD | Volkspartij voor Vrijheid en Democratie | People's Party for Freedom and Democracy | 7.3482 | 8 | 587 | 62 | 550 | 1409 |
NLD | Netherlands | ep | 1989-06-18 | 6.97 | 2 | 25 | GL | GroenLinks | GreenLeft | 2.0454 | 8 | 587 | 62 | 550 | 756 |
NLD | Netherlands | ep | 1989-06-18 | 5.95 | 1 | 25 | D66 | Democraten 66 | Democrats 66 | 4.5066 | 8 | 587 | 62 | 550 | 345 |
NLD | Netherlands | ep | 1989-06-18 | 5.9 | 1 | 25 | S+G+R | Staatkundig Gereformeerde Partij / Gereformeerd Politiek Verbond / Reformatorische Politieke Federatie | Reformatory Political Federation / Reformed Political League / Political Reformed Party | 7.4 | 8 | 587 | 62 | 550 | 1771 |
NLD | Netherlands | ep | 1989-06-18 | 0.78 | 0 | 25 | CD | Centrum Democraten | Centre Democrats | 9.4097 | 8 | 587 | 62 | 550 | 209 |
POL | Poland | parliament | 1989-06-18 | 173 | 460 | PZPR | Polska Zjednoczone Partia Robotnicza | Polish United Workers' Party | 1.3 | 74 | 158 | 1077 | |||
POL | Poland | parliament | 1989-06-18 | 161 | 460 | S | Solidarność | Solidarnosc | 3.3 | 74 | 158 | 108 | |||
POL | Poland | parliament | 1989-06-18 | 76 | 460 | ZSL | Zjednoczone Stronnictwo Ludowe | United People's Party | 5.3 | 74 | 158 | 822 | |||
POL | Poland | parliament | 1989-06-18 | 27 | 460 | SD | Stronnictwo Demokratyczne | Democratic Party | 1.3 | 74 | 158 | 1216 | |||
POL | Poland | parliament | 1989-06-18 | 23 | 460 | none | no party affiliation | no party affiliation | 74 | 158 | 1011 | ||||
PRT | Portugal | ep | 1989-06-18 | 33.79 | 9 | 24 | PSD | Partido Social Democrata | Social Democratic Party | 6.2949 | 63 | 504 | 480 | 718 | 1273 |
PRT | Portugal | ep | 1989-06-18 | 29.45 | 8 | 24 | PS | Partido Socialista | Socialist Party | 4.0492 | 63 | 504 | 480 | 718 | 725 |
PRT | Portugal | ep | 1989-06-18 | 3 | 24 | PCP | Partido Comunista Português | Portuguese Communist Party | 2.1754 | 63 | 504 | 480 | 718 | 514 | |
PRT | Portugal | ep | 1989-06-18 | 14.61 | 3 | 24 | CDS-PP | Centro Democrático e Social – Partido Popular | Democratic and Social Centre -- People's Party | 8.0222 | 63 | 504 | 480 | 718 | 251 |
PRT | Portugal | ep | 1989-06-18 | 1 | 24 | PEV | Partido Ecologista – Os Verdes | Ecology Party -- Greens | 1.6579 | 63 | 504 | 480 | 718 | 1535 | |
PRT | Portugal | ep | 1989-06-18 | 2.1 | 0 | 24 | PPM | Partido Popular Monárquico | Popular Monarchist Party | 7.4 | 63 | 504 | 480 | 718 | 107 |
PRT | Portugal | ep | 1989-06-18 | 1.41 | 0 | 24 | MDP | Movimento Democrático Português | Democratic Movement | 3.3 | 63 | 504 | 480 | 718 | 1281 |
PRT | Portugal | ep | 1989-06-18 | 1.12 | 0 | 24 | UDP | União Democrática Popular | Popular Democratic Union | 1.3 | 63 | 504 | 480 | 718 | 260 |
PRT | Portugal | ep | 1989-06-18 | 14.86 | 24 | CDU | Coligação Democrático Unitária | Unified Democratic Coalition | 2.2233 | 63 | 504 | 480 | 718 | 1295 |
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;