Adding code to generate tidy data