{smcl}
{* version 1.0.0  06feb2025  Ben Jann}{...}
{hi:isco08_3_to_isco08_2()} {hline 2} Translate 3-digit ISCO-08 to 2-digit ISCO-08

{title:Syntax}

        {cmd:isco08_3_to_isco08_2(}{varname}{cmd:)}

{pstd}
    where {it:varname} contains 3-digit ISCO-08 codes.

{title:Description}

{pstd}
    {helpb crosswalk} table translating 3-digit ISCO-08 codes (minor groups)
    to 2-digit ISCO-08 codes (sub-major groups).

{title:Source}

{pstd}
    File {bf:{browse "https://www.ilo.org/ilostat-files/ISCO/newdocs-08-2021/ISCO-08/ISCO-08%20EN%20Structure%20and%20definitions.xlsx":ISCO-08 EN Structure and definitions.xlsx}}
    provided by the ILO at {browse "https://ilostat.ilo.org/methods/concepts-and-definitions/classification-occupation/"}.
    {p_end}
{hline}
{asis}
100 10
110 11
111 11
112 11
120 12
121 12
122 12
130 13
131 13
132 13
133 13
134 13
140 14
141 14
142 14
143 14
200 20
210 21
211 21
212 21
213 21
214 21
215 21
216 21
220 22
221 22
222 22
223 22
224 22
225 22
226 22
230 23
231 23
232 23
233 23
234 23
235 23
240 24
241 24
242 24
243 24
250 25
251 25
252 25
260 26
261 26
262 26
263 26
264 26
265 26
300 30
310 31
311 31
312 31
313 31
314 31
315 31
320 32
321 32
322 32
323 32
324 32
325 32
330 33
331 33
332 33
333 33
334 33
335 33
340 34
341 34
342 34
343 34
350 35
351 35
352 35
400 40
410 41
411 41
412 41
413 41
420 42
421 42
422 42
430 43
431 43
432 43
440 44
441 44
500 50
510 51
511 51
512 51
513 51
514 51
515 51
516 51
520 52
521 52
522 52
523 52
524 52
530 53
531 53
532 53
540 54
541 54
600 60
610 61
611 61
612 61
613 61
620 62
621 62
622 62
630 63
631 63
632 63
633 63
634 63
700 70
710 71
711 71
712 71
713 71
720 72
721 72
722 72
723 72
730 73
731 73
732 73
740 74
741 74
742 74
750 75
751 75
752 75
753 75
754 75
800 80
810 81
811 81
812 81
813 81
814 81
815 81
816 81
817 81
818 81
820 82
821 82
830 83
831 83
832 83
833 83
834 83
835 83
900 90
910 91
911 91
912 91
920 92
921 92
930 93
931 93
932 93
933 93
940 94
941 94
950 95
951 95
952 95
960 96
961 96
962 96
000 00
010 01
011 01
020 02
021 02
030 03
031 03