Recently Published
Kelly Criterion
A critical look at some literature on the Kelly criterion and its application to the stock market, including a straightforward function enabling the use of the formula under various assumptions and simulation of the outcomes.
Using corruption data for ESG investing
This script automatically loads the Curruption Perception Index data published by Transparency International (https://www.transparency.org/en/cpi/2019/index/nzl). The dataset is published as pdf and the script transforms it into an easily usable data.frame.
Beyond that it creates an interactive, customizable worldmap similar to the one published by Transparency International on its website.
The map can be integrated in websites or exported as high resolution scalable vector graphic (SVG) using Orca (https://github.com/plotly/orca).
Recession shading with ggplot and FRED
This markdown introduces a function a simple, integrated one step function that allows the user to add recession shading based on NBER recession data from FRED to time-series charts created with ggplot2.
Send editable R-Chart to PPT
This script explains how to plot economic data with ggplot2 and export an editable chart to MS PowerPoint afterwards using the officer package.