Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.4 KB

README.md

File metadata and controls

36 lines (22 loc) · 1.4 KB

The Green Hydrogen Ambition and Implementation Gap

This respository contains the code to run the analysis and reproduce all figures of the article:

Odenweller, A., Ueckerdt, F.: The green hydrogen ambition and implementation gap

System requirements

The R code in this repository has no specific system requirements. It should run on any system. Package dependencies are managed with renv (see Installation).

Installation

For reproducibility, this repository uses renv. In order to install all packages, in the main directory simply run:

renv::restore()

The ggsankey package may need to be installed manually from GitHub using devtools:

install.packages("devtools")
devtools::install_github("davidsjoberg/ggsankey")

Instructions

Rendering the RMarkdown file main.Rmd will perform all analyses and reproduce all figures at once:

rmarkdown::render("main.Rmd")

Full execution should take no more than 5-10 minutes on a standard computer. Figures will be placed in the figures folder. Note that most figures were manually edited afterwards. Some data analysis statistics will be written to the output file, which defaults to main.html.

The data folder contains all datasets required for the analysis. The scripts folder contains functions for data processing and plotting.