chart_variables
Data license: CC-BY
1 row where chartId = 2622
This data as json, CSV (advanced)
Link | chartId | variableId |
---|---|---|
2622,97410 | Mental health as a risk factor for illicit drug dependency or abuse 2622 | Increased risk of illicit drug dependency 97410 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE chart_variables ( `chartId` integer NOT NULL, `variableId` integer NOT NULL, PRIMARY KEY (`chartId`, `variableId`), CONSTRAINT `FK_chart_variables_chartId` FOREIGN KEY (`chartId`) REFERENCES `charts` (`id`) ON DELETE CASCADE, CONSTRAINT `FK_chart_variables_variableId` FOREIGN KEY (`variableId`) REFERENCES `variables` (`id`) ON DELETE CASCADE );