R markdown file for data cleaning