Rodes-Bachs_etal_Dietary_transitions
Description
Region-specific and nutritionally adequate dietary transitions can bolster sustainability and socioeconomic benefits
Code for the figure creation and analysis supporting the journal publication Rodés-Bachs, C., Sampedro, J., Van de Ven, D., Horowitz, R., Pardo, G., & Zhao, X. (2026).
Region-specific and nutritionally adequate dietary transitions can bolster sustainability and socioeconomic benefits. Nature Food. DOI: 10.1038/s43016-026-01316-1. Paired with the data stored in this Zenodo entry.
Other related repositories:
- Code Ocean Platform: online interactive version of the analysis code. It also contains the required data.
- Data Zenodo archive: data required for the analysis descrived in this repo.
- Code Zenodo archive: latest version of the analysis code provided in this repo.
- GCAM version: GCAM version used to run all 1,298 dietary change the scenarios.
How to use this data?
- Download the data from this Zenodo archive and unpack the files.
- Clone or download this code version from the GitHub repository.
- Run the code. If you are familiarized with Docker we recommend you to follow option
a), which provides you an R running environment. Otherwise, you can follow optionb), which requires Rstudio and to install manually the necessary libraries.
a) Download Docker, open Docker Desktop, and download the following docker image through your console: docker pull claudiarodes/implications_sustainable_diets:diets_v1
Run the docker image adjusting the full path to the repository folder: docker run -v /full_path_to_the_repository_folder/implications_sustainable_diets:/app -it implications_sustainable_diets
Run the R/paper_analysis.R script to produce all the figures of the study, both from the main manuscript and the supplementary information and the R/paper_methodology.R script to produce the graphics to illustrate the ensemble design and uncertainty dimensions considered in the study.
Download RStudio, open it, and run the R/paper_analysis.R script to produce all the figures of the study, both from the main manuscript and the supplementary information and the R/paper_methodology.R script to produce the graphics to illustrate the ensemble design and uncertainty dimensions considered in the study.
Funding source
This project has received funding from the European Union's Horizon 2020 research and innovation program under grant agreement number 101056306 (IAM COMPACT project).
Files
klau506/Rodes-Bachs_etal_Dietary_transitions-diets_v3.zip
Additional details
Related works
- Is supplement to
- Software: https://github.com/klau506/Rodes-Bachs_etal_Dietary_transitions/tree/diets_v3 (URL)
- Is supplemented by
- Dataset: https://zenodo.org/records/18086406 (URL)