Dietary Behaviours, Food Consumption and Sustainable Lifestyle Practices in Latin America and Spain: A Multicountry Dataset

Published: 1 December 2026| Version 1 | DOI: 10.17632/5ms7rnk4j2.1
Contributors:
,
,
,
,
,
, Beatriz Nuñez-Martinez,
, Georgina Gómez,
,
,
,
,
,
,
, Alfonsina Ortiz,
, João P. M. Lima,
,

Description

This dataset contains survey data from 6,419 adult participants aged 18–96 years across 18 countries and territories in Latin America and Spain. The dataset includes sociodemographic characteristics, self-reported anthropometric measurements, dietary patterns, food consumption, physical activity, smoking habits, food purchasing behaviours, household food waste, and sustainability-related practices. It also includes existing scores related to food purchasing, transportation and recreation, environmental practices, and overall sustainability-related behaviours. The accompanying data dictionary provides the original questionnaire items and observed variable coding to facilitate data interpretation, research transparency, and reproducibility.

Files

Steps to reproduce

Download the analytical dataset and its accompanying data dictionary. Use the analytical sample of 5,376 participants reporting one of four dietary patterns: prudent, Mediterranean, flexitarian, or Western. Define the binary outcome as Western dietary pattern identification (1) versus the three alternative dietary patterns (0). Establish two predictor sets: Model A, including 15 food-shopping and household food-management behaviours, and Model B, additionally incorporating six sociodemographic and household characteristics. Retain age and ordinal behavioural responses as numerical variables and apply one-hot encoding to categorical predictors. Fit preprocessing transformations exclusively within the corresponding training folds. Evaluate classification algorithms using nested cross-validation with five stratified outer folds and three inner folds for hyperparameter optimisation using Optuna. Compare model performance using pooled out-of-fold predictions, AUROC, PR-AUC, Brier scores, and calibration assessments. Estimate 95% confidence intervals using 2,000 paired bootstrap resamples and compare correlated AUROCs using DeLong's test. Apply SHAP TreeExplainer to the fitted Random Forest models using held-out observations to assess global feature importance and the direction of predictor contributions. The original analyses were conducted in Python using Google Colaboratory, scikit-learn (1.5.2), CatBoost (1.2.8), Optuna (5.0.0), and SHAP (0.54.1), with a fixed random seed of 2026.

Institutions

Categories

Food Science, Artificial Intelligence, Public Health, Nutrition, Dietary Pattern Analysis

Licence