Posts

Launch of {wihantemplates}

Template
R
Package

The launch of my first R package comprising--hopefully, one day--a suite of templates for the creation documents in R Markdown which I’ve come to use on a regular basis. It marks the release of {su_dissertation}, a template for creating theses and dissertations for students at Stellenbosch University.

Scraping International Investment Agreement Data

International Economics
Web Scraping
R

Comprehensive and up-to-date data on international investment agreements (IIAs) concluded between (groups of) countries are hard to come by, making it difficult to study their effects on bilateral investment flows. In this post, I propose and describe a simple approach to obtain and manipulate data from UNCTAD's IIA Mapping Project using R.

Introduction to R: Assignment

Intensive Statistics
R
Teaching

This assignment accompanies the "Introduction to R" tutorial session for MCom (Economics) students attending the Intensive Statistics course at Stellenbosch University (2024).

Introduction to R: Tutorial

Intensive Statistics
R
Teaching

This post serves as the primary tutorial notes for the "Introduction to R" sessions of the Intensive Statistics course for MCom (Economics) students at Stellenbosch University (2024). This lecture is intended to offer a cursory introduction to enable students to perform basic operations in R and RStudio.

CPT to BRU: A (Very) Cursory Google Flights Analysis

R
Travel

Google Flights is a useful platform with which to find the cheapest flights for a given trip. However, a user like me could find it difficult to peruse prices for return flights across multiple dimensions simultaneously. I capture information from the platform's "Date Grid" and perform some very simple eyeballing.

Are humans rational?

Philosophy and Economics
Behavioural Economics

The question of human rationality has been debated since time immemorial. In recent decades, neuroscientific and behavioural evidence seem to suggest that people are not the paragons of rationality as we might have once believed.

The Benefits and Unintended Costs of Airline Alliances

Institutional Economics
Transaction Costs

The New Institutional Economics provides scholars with a useful framework with which to perform comparative institutional analyses. The notion of transaction costs is particularly valuable when comparing different institutional arrangements, such as hybrid organisational structures.

More articles »

Posts

Corrections

If you see mistakes or want to suggest changes, please create an issue on the source repository.

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY-SA 4.0. Source code is available at https://github.com/WihanZA/wihan_distill, unless otherwise noted. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".