Software code (STATA do-file) from the paper Sulimanec et al., 2025 (https://doi.org/10.1007/s12403-024-00646-4). The code was used for calculating cumulative percentages of food items’ consumption within each L1 category using the EFSA Comprehensive European Food Consumption Database (https://www.efsa.europa.eu/en/data-report/food-consumption-data):