Replica tidy dataset step 5