view_election (view)
Data source: ParlGov · About: simonw/parlgov-datasette
109 rows where "election_date" is on date 1994-06-12
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NLD | Netherlands | ep | 1994-06-12 | 3.74 | 1 | 31 | GL | GroenLinks | GreenLeft | 2.0454 | 8 | 58 | 570 | 148 | 756 |
NLD | Netherlands | ep | 1994-06-12 | 2.35 | 0 | 31 | Groen | De Groenen | The Greens | 2.5 | 8 | 58 | 570 | 148 | 2009 |
NLD | Netherlands | ep | 1994-06-12 | 1.05 | 0 | 31 | CD | Centrum Democraten | Centre Democrats | 9.4097 | 8 | 58 | 570 | 148 | 209 |
NLD | Netherlands | ep | 1994-06-12 | 1.34 | 0 | 31 | SP | Socialistiese Partij | Socialist Party | 1.3682 | 8 | 58 | 570 | 148 | 357 |
PRT | Portugal | ep | 1994-06-12 | 35.99 | 10 | 25 | PS | Partido Socialista | Socialist Party | 4.0492 | 63 | 14 | 90 | 282 | 725 |
PRT | Portugal | ep | 1994-06-12 | 35.49 | 9 | 25 | PSD | Partido Social Democrata | Social Democratic Party | 6.2949 | 63 | 14 | 90 | 282 | 1273 |
PRT | Portugal | ep | 1994-06-12 | 12.85 | 3 | 25 | CDS-PP | Centro Democrático e Social – Partido Popular | Democratic and Social Centre -- People's Party | 8.0222 | 63 | 14 | 90 | 282 | 251 |
PRT | Portugal | ep | 1994-06-12 | 11.55 | 3 | 25 | CDU | Coligação Democrático Unitária | Unified Democratic Coalition | 2.2233 | 63 | 14 | 90 | 282 | 1295 |
PRT | Portugal | ep | 1994-06-12 | 0.81 | 0 | 25 | PCTP/MRPP | Comunista dos Trabalhadores Portugueses / Movimento Reorganizativo do Partido do Proletariado | Communist Party of the Portuguese Workers / Reorganizative Movement of the Party of the Proletariat | 1.3 | 63 | 14 | 90 | 282 | 281 |
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;