Stata do file to allocate ISCO-08 and ISCO-88 occupations, at the 2-digit and 3-digit level, to five occupational task groups - non-routine cognitive analytical, non-routine cognitive personal, routine cognitive, non-routine manual, and routine manual - based on the dominant O*NET task in an occupation.