Code for second tidy dataset