I’ve posted some code to clean data publicly on my Github for the common good. Enjoy!