chart_variables
Data license: CC-BY
1 row where chartId = 2672
This data as json, CSV (advanced)
Link | chartId | variableId |
---|---|---|
2672,821722 | Affordability of cigarettes 2672 | Affordability of cigarettes: percentage of GDP per capita required to purchase 2000 cigarettes of the most sold brand 821722 |
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 );