chart_tags
Data license: CC-BY
3 rows where chartId = 2150
This data as json, CSV (advanced)
Suggested facets: keyChartLevel, isApproved, createdAt (date)
Link | chartId | tagId | keyChartLevel | createdAt | updatedAt | isApproved |
---|---|---|---|---|---|---|
2150,8 | Prevalence of drug use disorders, males vs. females 2150 | Gender Ratio 8 | 0 | 2023-10-04 09:06:53 | 0 | |
2150,1571 | Prevalence of drug use disorders, males vs. females 2150 | Substance Use 1571 | 2 | 2023-10-04 09:06:53 | 1 | |
2150,1825 | Prevalence of drug use disorders, males vs. females 2150 | Illicit Drug Use 1825 | 2 | 2023-10-04 09:06:53 | 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");