chart_tags
Data license: CC-BY
3 rows where chartId = 5697
This data as json, CSV (advanced)
Suggested facets: keyChartLevel, createdAt (date), updatedAt (date)
Link | chartId | tagId | keyChartLevel | createdAt | updatedAt | isApproved |
---|---|---|---|---|---|---|
5697,58 | Self-reported dietary choices by age, United Kingdom 5697 | Diet Compositions 58 | 2 | 2023-09-12 12:28:34 | 2023-09-15 15:36:12 | 1 |
5697,291 | Self-reported dietary choices by age, United Kingdom 5697 | Animal Welfare 291 | 1 | 2023-09-12 12:28:34 | 2023-09-15 15:36:12 | 1 |
5697,1796 | Self-reported dietary choices by age, United Kingdom 5697 | Environmental Impacts of Food Production 1796 | 2 | 2023-09-12 12:28:34 | 2023-09-15 15:36:12 | 1 |
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");