Code used in my third year of data journalism