Creating the final tidy dataset