* JCS 140612. * Recode SIC80 4-digit Activity to SIC92 1-digit Section. * Ensure that all SIC80 4-digit Activity variables are named "indmain". * This 1-to-1 mapping is derived directly from the Sep-Nov 1993 Autumn seasonal quarterly dataset qlfssn93.dta, using variables indmain and indlast (SIC80 Activity) and sicmain and siclast (SIC92 Section). * Value labels for SIC92 Sections are taken from "label list sicmain" in qlfssn93.dta. recode indmain (1 = 1) (2 = 1) (3 = 2) (4 = 3) (5 = 3) (6 = 3) (7 = 4) (8 = 3) (9 = 4) (10 = 4) (11 = 4) (12 = 5) (13 = 5) (14 = 5) (15 = 5) (16 = 3) (17 = 4) (18 = 4) (19 = 4) (20 = 4) (21 = 4) (22 = 4) (23 = 4) (24 = 3) (25 = 3) (26 = 3) (27 = 4) (28 = 4) (29 = 4) (30 = 4) (31 = 4) (32 = 4) (33 = 4) (34 = 4) (35 = 4) (36 = 4) (37 = 4) (38 = 4) (39 = 4) (40 = 4) (41 = 4) (42 = 4) (43 = 4) (44 = 4) (45 = 4) (46 = 4) (47 = 4) (49 = 4) (50 = 4) (51 = 4) (52 = 4) (53 = 4) (54 = 4) (55 = 4) (56 = 4) (57 = 4) (58 = 4) (59 = 4) (60 = 4) (61 = 4) (62 = 4) (63 = 4) (64 = 4) (65 = 4) (66 = 4) (67 = 4) (68 = 4) (69 = 4) (70 = 4) (71 = 4) (72 = 4) (73 = 4) (74 = 4) (75 = 4) (76 = 4) (77 = 4) (78 = 4) (79 = 4) (80 = 4) (81 = 4) (82 = 4) (83 = 4) (84 = 4) (85 = 4) (86 = 4) (87 = 4) (88 = 4) (89 = 4) (90 = 4) (91 = 4) (92 = 4) (93 = 4) (94 = 4) (95 = 4) (96 = 4) (97 = 4) (98 = 4) (99 = 4) (100 = 4) (101 = 4) (102 = 4) (103 = 4) (104 = 4) (105 = 4) (106 = 4) (107 = 4) (108 = 4) (109 = 4) (110 = 4) (111 = 4) (112 = 4) (113 = 4) (114 = 4) (115 = 4) (116 = 4) (117 = 4) (118 = 4) (119 = 4) (120 = 4) (121 = 4) (122 = 4) (123 = 4) (124 = 4) (125 = 4) (126 = 4) (127 = 4) (128 = 4) (129 = 4) (130 = 4) (131 = 4) (132 = 4) (133 = 4) (134 = 4) (135 = 4) (136 = 4) (137 = 4) (138 = 4) (139 = 4) (140 = 4) (141 = 4) (142 = 4) (143 = 4) (144 = 4) (145 = 4) (146 = 4) (147 = 4) (148 = 4) (149 = 4) (150 = 4) (151 = 4) (152 = 4) (153 = 4) (154 = 4) (155 = 4) (156 = 4) (157 = 4) (158 = 4) (159 = 4) (160 = 4) (161 = 4) (162 = 4) (163 = 4) (164 = 4) (165 = 4) (166 = 4) (167 = 4) (168 = 4) (169 = 4) (170 = 4) (171 = 4) (172 = 4) (173 = 4) (174 = 4) (175 = 4) (176 = 4) (177 = 4) (178 = 4) (179 = 4) (180 = 4) (181 = 4) (182 = 4) (183 = 4) (184 = 4) (185 = 4) (186 = 4) (187 = 4) (188 = 4) (189 = 4) (190 = 4) (191 = 4) (192 = 4) (193 = 4) (194 = 4) (195 = 4) (196 = 4) (197 = 4) (198 = 4) (199 = 4) (200 = 4) (201 = 4) (202 = 4) (203 = 4) (204 = 4) (205 = 4) (206 = 4) (207 = 4) (208 = 4) (209 = 4) (210 = 4) (211 = 4) (212 = 4) (213 = 4) (214 = 4) (215 = 4) (216 = 4) (217 = 4) (218 = 4) (219 = 4) (220 = 4) (221 = 4) (222 = 4) (223 = 4) (224 = 4) (225 = 4) (226 = 6) (227 = 7) (228 = 7) (229 = 4) (230 = 7) (231 = 7) (232 = 7) (233 = 8) (234 = 8) (235 = 8) (236 = 8) (237 = 8) (238 = 8) (239 = 8) (240 = 7) (241 = 7) (242 = 7) (243 = 9) (244 = 9) (245 = 9) (246 = 9) (247 = 9) (248 = 9) (249 = 9) (250 = 9) (251 = 9) (252 = 9) (253 = 9) (254 = 9) (255 = 9) (256 = 10) (257 = 10) (258 = 10) (259 = 10) (260 = 10) (261 = 11) (262 = 11) (263 = 11) (264 = 11) (265 = 11) (266 = 11) (267 = 11) (268 = 11) (269 = 11) (270 = 11) (271 = 11) (272 = 11) (273 = 11) (274 = 11) (275 = 11) (276 = 12) (277 = 12) (278 = 12) (279 = 12) (280 = 12) (281 = 12) (282 = 12) (283 = 15) (284 = 15) (285 = 11) (286 = 13) (287 = 13) (288 = 13) (289 = 13) (290 = 13) (291 = 11) (292 = 14) (293 = 14) (294 = 14) (295 = 14) (296 = 14) (297 = 14) (298 = 14) (299 = 15) (300 = 15) (301 = 9) (302 = 15) (303 = 15) (304 = 15) (305 = 15) (306 = 15) (307 = 15) (308 = 15) (309 = 15) (310 = 15) (311 = 16) (312 = 17), generate(in8092sm) label define sic92s_lab 1 "a:agriculture, hunting & forestry" 2 "b:fishing" 3 "c:mining, quarrying, extract. of oil, ga" 4 "d:manufacturing" 5 "e:electricity gas & water supply" 6 "f:construction" 7 "g:wholesale, retail & motor trade" 8 "h:hotels & restaurants" 9 "i:transport, storage & communication" 10 "j:financial" 11 "k:real estate, rent & business activitie" 12 "l:public administration & defence" 13 "m:education" 14 "n:health & social work" 15 "o:other community, social & personal" 16 "p:private hholds with employed persons" 17 "q:extra-territorial organisations, bodie" label values in8092sm sic92s_lab