view_variable (view)
Data source: ParlGov · About: simonw/parlgov-datasette
16 rows where table_name = "view_election" sorted by description
This data as json, CSV (advanced)
Suggested facets: type, comment
table_name | type | name | description ▼ | comment |
---|---|---|---|---|
view_election | integer | previous_cabinet_id | 'cabinet_id' of incumbent government | |
view_election | integer | previous_parliament_election_id | 'election_id' of previous national parliament election in the country | |
view_election | real | left_right | 0--10 scale mean value in left/right dimension with data from Castles/Mair 1983, Huber/Inglehart 1995, Benoit/Laver 2006 and CHES 2010 | |
view_election | date | election_date | Date the election took place. If the election lasted for several days, we code the last date. | |
view_election | text | party_name_english | English name of party | |
view_election | integer | country_id | ParlGov unique identifier for each country. Other tables refer to this variable as 'country_id'. | |
view_election | integer | election_id | ParlGov unique identifier for national and EP elections. Other tables refer to this variable as 'election_id'. | |
view_election | integer | party_id | ParlGov unique party identifier. Variable name 'id' in 'party' table and 'party_id' in all other tables. | |
view_election | text | country_name | name of country | |
view_election | integer | seats | number of seats won by party | Seats coded for alliance members if information available. Coded as 0 for parties that won no seats and as missing value for electoral alliances if seats are coded at the level of alliance members. |
view_election | text | party_name | original name of party with native characters (this field may require a change of character encodings on your local computer) | |
view_election | text | party_name_short | party abbreviation | |
view_election | real | vote_share | percentage of votes for a party | |
view_election | text | country_name_short | three letter abbreviation of country -- iso alpha code | |
view_election | integer | seats_total | total number of seats | |
view_election | text | election_type | type of election -- 'parliament' or 'ep' election |
Advanced export
JSON shape: default, array, newline-delimited
CREATE VIEW view_variable AS SELECT tbl.name AS table_name, var.type AS type, var.name AS name, var.description AS description, var.comment AS comment FROM info_variable var INNER JOIN (SELECT * FROM info_table) tbl ON var.table_id = tbl.id WHERE SUBSTR(tbl.name, 1, 5) ='view_' ORDER BY tbl.name DESC, var.column_number ASC;