view_variable (view)
Data source: ParlGov · About: simonw/parlgov-datasette
3 rows where type = "date"
This data as json, CSV (advanced)
Suggested facets: table_name, name, description, comment
table_name | type | name | description | comment |
---|---|---|---|---|
view_election | date | election_date | Date the election took place. If the election lasted for several days, we code the last date. | |
view_cabinet | date | election_date | Date the election took place. If the election lasted for several days, we code the last date. | |
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;