chart_tags
Data license: CC-BY
3 rows where chartId = 2104
This data as json, CSV (advanced)
Suggested facets: keyChartLevel, createdAt, isApproved, createdAt (date), updatedAt (date)
Link | chartId | tagId | keyChartLevel | createdAt | updatedAt | isApproved |
---|---|---|---|---|---|---|
2104,273 | Unsentenced detainees as a proportion of overall prison population 2104 | Prisons 273 | 2 | 2023-02-09 10:09:04 | 2023-09-15 15:36:12 | 1 |
2104,279 | Unsentenced detainees as a proportion of overall prison population 2104 | Homicides 279 | 0 | 2023-10-02 12:40:51 | 0 | |
2104,285 | Unsentenced detainees as a proportion of overall prison population 2104 | Human Rights 285 | 0 | 2023-10-02 12:40:51 | 0 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE "chart_tags" ( "chartId" INTEGER NOT NULL , "tagId" INTEGER NOT NULL , "keyChartLevel" TINYINT NOT NULL DEFAULT '0' , "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP , "updatedAt" DATETIME NULL , "isApproved" TINYINT NOT NULL DEFAULT '0' , PRIMARY KEY ("chartId", "tagId"), FOREIGN KEY("chartId") REFERENCES "charts" ("id") ON UPDATE RESTRICT ON DELETE CASCADE, FOREIGN KEY("tagId") REFERENCES "tags" ("id") ON UPDATE RESTRICT ON DELETE RESTRICT ); CREATE INDEX "FK_chart_tags_tagId" ON "chart_tags" ("tagId");