view_variable (view)
Data source: ParlGov · About: simonw/parlgov-datasette
19 rows where table_name = "view_cabinet" sorted by name
This data as json, CSV (advanced)
Suggested facets: type, comment
table_name | type | name ▼ | description | comment |
---|---|---|---|---|
view_cabinet | integer | cabinet_id | ParlGov unique identifier for each cabinet. Variable name 'id' in 'cabinet' table and 'cabinet_id' in all other tables. | |
view_cabinet | text | cabinet_name | label/name of cabinet consisting of the family name of the prime minister and a roman numeral if he/she headed more than one cabinet (ascii characters only) | |
view_cabinet | binary | cabinet_party | cabinet member vs. opposition party | |
view_cabinet | binary | caretaker | caretaker cabinet with a limited legislative mandate: non-partisan, provisional, technical or continuation (tree month rule) cabinet | |
view_cabinet | integer | country_id | ParlGov unique identifier for each country. Other tables refer to this variable as 'country_id'. | |
view_cabinet | text | country_name | name of country | |
view_cabinet | text | country_name_short | three letter abbreviation of country -- iso alpha code | |
view_cabinet | date | election_date | Date the election took place. If the election lasted for several days, we code the last date. | |
view_cabinet | integer | election_id | ParlGov unique identifier for national and EP elections. Other tables refer to this variable as 'election_id'. | |
view_cabinet | integer | election_seats_total | seats total in parliament | |
view_cabinet | 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_cabinet | integer | party_id | ParlGov unique party identifier. Variable name 'id' in 'party' table and 'party_id' in all other tables. | |
view_cabinet | text | party_name | original name of party with native characters (this field may require a change of character encodings on your local computer) | |
view_cabinet | text | party_name_english | English name of party | |
view_cabinet | text | party_name_short | party abbreviation | |
view_cabinet | integer | previous_cabinet_id | 'cabinet_id' of previous national cabinet in the country | |
view_cabinet | binary | prime_minister | indicates if the party fills the prime minster position | |
view_cabinet | integer | seats | number of seats in parliament | In versions prior to ParlGov 11/07, the number of seats was based on seats won at the last election (table 'election_result'). It does now take into account changes in parliament -- see documentation for table 'viewcalc_parliament_composition'. |
view_cabinet | date | start_date | start of cabinet defined as the date of the first event that determines a new cabinet | For some (continuation) caretaker cabinet, the date is set to election date. |
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;