Refactor ess variable assignments and combine 6- and 12-month datasteps.