Analysis file to compile tidy dataset into a .csv file