EconPapers    
Economics at your fingertips  
 

Energy, Economics & Replication

Jeffrey Racine

Department of Economics Working Papers from McMaster University

Abstract: This article outlines recent developments in Markdown scripting languages that facilitate the production of replicable, 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 replicated. 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). Replicability is guaranteed by using the checkpoint package in R. This article was written using Markdown.

JEL-codes: C88 (search for similar items in EconPapers)
Pages: 15 pages
Date: 2017-02
References: Add references at CitEc
Citations: View citations in EconPapers (4)

Downloads: (external link)
http://socserv.mcmaster.ca/econ/rsrch/papers/archive/McMasterEconWP2017-02.pdf (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:mcm:deptwp:2017-02

Access Statistics for this paper

More papers in Department of Economics Working Papers from McMaster University Contact information at EDIRC.
Bibliographic data for series maintained by ().

 
Page updated 2025-03-30
Handle: RePEc:mcm:deptwp:2017-02