chart_variables
Data license: CC-BY
1 row where chartId = 3990
This data as json, CSV (advanced)
Link | chartId | variableId |
---|---|---|
3990,142546 | Calories lost and wasted per capita 3990 | Per capita food loss or waste (kcal per day)(WRI, 2013) 142546 |
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 );