Skip to content

Code to reproduce all figures for the paper: The green hydrogen ambition and implementation gap

License

Notifications You must be signed in to change notification settings

aodenweller/green-hydrogen-gap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Code to reproduce all figures for the paper: The green hydrogen ambition and implementation gap

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages