CREATES

Energy, economics, replication & reproduction

Research output: Contribution to journal/Conference contribution in journal/Contribution to newspaperJournal articleResearchpeer-review

This article outlines recent developments in Markdown scripting languages that facilitate the production of reproducible, publication quality, research. The approach is similar to that achieved by using, say, Sweave, R and LaTeX, but is written instead in simple Markdown syntax and not tied to any particular output format (e.g., MS Word) nor computational language (e.g., Python). The computational component can be written in C++, Python, SQL, Stan, Bash, or R by way of example. The Markdown script is seamlessly converted to any one of a number of output formats. The output format is essentially an afterthought, and could be rendered as a PDF (LaTeX or Beamer presentation), MS Word, HTML, EPUB, or gitbook document, by way of illustration. Conversion of the Markdown script to the desired output format is performed by pandoc (a universal document converter). These tools can dramatically reduce the amount of time required to complete a research project that can be trivially reproduced. Recent enhancements to RStudio streamline the entire process of output format generation via a simple click of an icon or keystroke shortcut (the minimum requirement is R). Reproducability is guaranteed by using the checkpoint package in R. We also highlight the importance of using version control systems and data sharing/archiving when generating reproducible research. This article was written using Markdown.

Original languageEnglish
JournalEnergy Economics
Volume82
Pages (from-to)264-275
Number of pages12
ISSN0140-9883
DOIs
Publication statusPublished - Aug 2019
Externally publishedYes

    Research areas

  • Energy modelling, Replication

See relations at Aarhus University Citationformats

ID: 180386713