Code and Data for "Green Growth in the Mirror of History: Long-Term Evidence on Decoupling Emissions from GDP"
Authors/Creators
Description
The code and files contained in this repository allow for the reproduction of the results and figures from the paper “Green Growth in the Mirror of History: Long-Term Evidence on Decoupling Emissions from GDP” (submitted to Nature Communications). In particular, it generates the historical database of gross domestic product (GDP), population, and greenhouse gas emissions (GHGe) at the national, regional, and global levels from 1820 to 2022. It also includes the code required for data processing and allows reproduction of all figures and analyses in the manuscript.
The repository is organized into a set of folders functioning as an R project. These folders are as follows:
· data_input: Contains the databases and files necessary to run our code that have been preprocessed by ourselves. The databases which we have not preprocessed are downloaded directly from their original sources using the links provided in the R scripts. These databases were created by other researchers. Please cite the original databases if you use them directly.
· code: Contains R scripts used to process the datasets from data_input and to produce the figures. These scripts are:
o common.R contains code that is sourced in the other scripts and does not need to be run by the user.
o input_processing.R processes the data input to generate the main dataset saved in the folder data_output and used to make the figures.
o figures.R contains the code that processes the main dataset to produce each figure.
· data_output: Contains datasets generated by the scripts contained in input_processing.R that are used to produce the figures.
- figures: This folder contains all the figures produced by figures.R. Note that some figures also underwent purely aesthetic edits in external software (Adobe Illustrator) for clarity purposes.
Files
GreenGrowth_zenodo.zip
Files
(207.0 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:e8ebe174166cee0102db66dc36045cfb
|
207.0 MB | Preview Download |
Additional details
Funding
- European Commission
- WHEP - Who Has Eaten the Planet? The paths of food systems beyond the safe and just operating space (1850-2020) 101115126
- Agencia Estatal de Investigación
- Desarrollo Económico e impactos ambientales en España (siglos XIX y XX): instituciones, comercio y recursos naturales PID2021-123220NB-I00
Software
- Programming language
- R