Code used for my data journalism course during my final year