view_election (view)
Data source: ParlGov · About: simonw/parlgov-datasette
14 rows where "election_date" is on date 1978-03-19
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FRA | France | parliament | 1978-03-19 | 22.5 | 142 | 474 | RPR | Rassemblement pour la république | Rally for the Republic | 7.4997 | 43 | 496 | 357 | 21 | 138 |
FRA | France | parliament | 1978-03-19 | 124 | 474 | UDF|MD | Union pour la démocratie française | Mouvement démocrate | Union for French Democracy | Democratic Movement | 6.1017 | 43 | 496 | 357 | 21 | 509 | |
FRA | France | parliament | 1978-03-19 | 22.8 | 102 | 474 | PS | Parti socialiste | Socialist Party | 3.2493 | 43 | 496 | 357 | 21 | 1539 |
FRA | France | parliament | 1978-03-19 | 20.6 | 86 | 474 | PCF | Parti communiste française | French Communist Party | 1.3741 | 43 | 496 | 357 | 21 | 686 |
FRA | France | parliament | 1978-03-19 | 2.8 | 10 | 474 | CNIP | Centre national des indépendants et paysans | National Centre of Independents and Peasants [Conservatives] | 7.5636 | 43 | 496 | 357 | 21 | 1414 |
FRA | France | parliament | 1978-03-19 | 1.4 | 10 | 474 | d-gauche | divers gauche | other left | 3.3 | 43 | 496 | 357 | 21 | 177 |
FRA | France | parliament | 1978-03-19 | 2.2 | 0 | 474 | PRG | Parti radical de gauche | Radical Party of the Left | 4.0813 | 43 | 496 | 357 | 21 | 1492 |
FRA | France | parliament | 1978-03-19 | 2.0 | 0 | 474 | V | Les Verts | Greens | 3.155 | 43 | 496 | 357 | 21 | 873 |
FRA | France | parliament | 1978-03-19 | 1.7 | 0 | 474 | LO | Lutte ouvrière | Workers' Struggle | 0.0 | 43 | 496 | 357 | 21 | 1176 |
FRA | France | parliament | 1978-03-19 | 1.1 | 0 | 474 | PSU | Parti socialiste unifie | Unified Socialist Party | 1.3 | 43 | 496 | 357 | 21 | 516 |
FRA | France | parliament | 1978-03-19 | 2.0 | 0 | 474 | MP | Parti de la Majorité présidentielle | Party of Presidential Majority | 1.3 | 43 | 496 | 357 | 21 | 2260 |
FRA | France | parliament | 1978-03-19 | 10.6 | 474 | IR|DL | Independants républicains | Démocratie libérale | Independent Republicans | Liberal Democracy | 7.0577 | 43 | 496 | 357 | 21 | 59 | |
FRA | France | parliament | 1978-03-19 | 5.2 | 474 | CDS | Centre des démocrates sociaux | Centre of Social Democrats | 6.2 | 43 | 496 | 357 | 21 | 2265 | |
FRA | France | parliament | 1978-03-19 | 1.9 | 474 | PR | Parti radical-socialiste | Radical Socialist Party | 3.9896 | 43 | 496 | 357 | 21 | 401 |
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;