GET FILE='Basic_Skills_lookup.sav'. SORT CASES BY a09. SAVE OUTFILE='Basic_Skills_lookup.sav'.
MATCH FILES /FILE = 'Master_temp.sav' /TABLE = 'Basic_Skills_lookup.sav' /BY a09.
RECODE bs_partpn (SYSMIS = 0). RECODE bs_flag (SYSMIS = 0). RECODE bs_type (SYSMIS = 0). RECODE bs_esol (SYSMIS = 0).
DO IF ANY(a09,"00109616","10000150","10001111","10001112","10001500", "10002400","10004732","10019868","10020020","10019777", "10020573","10019789","10020603") AND ANY(a36,"D","E","F","G"). COMPUTE bs_type = 9. ELSE IF ANY(a09,"00204111","00255789","10011262","10024815","00221154", "10023082","00258301","1000855X","1001102X","10011183", "10011432","10011456","10011468","10011420") AND ANY(a36,"D","E","F","G"). COMPUTE bs_type = 10. END IF.
VARIABLE LABELS bs_partpn 'learning aims that meet criteria for Skills for Life' bs_flag 'Skills for Life learning aims that contribute towards target' bs_type 'Learning aim category' bs_esol 'Skills for Life learning aims that are also ESOL'.
VALUE LABELS bs_partpn 0 'learning aim is not part of Skills for Life' 1 'learning aim is part of Skills for Life'.
VALUE LABELS bs_flag 0 'learning aim does not contribute to the target' 1 'learning aim does contribute to the target'.
VALUE LABELS bs_type 0 'Not a basic skills learning aim' 1 'Literacy, Entry Level, Counting towards target' 2 'Numeracy, Entry Level, Counting towards target' 3 'Language, Entry Level, Counting towards target' 4 'Literacy, Level 1, Counting towards target' 5 'Numeracy, Level 1, Counting towards target' 6 'Language, Level 1, Counting towards target' 7 'Key Skills - Communication, Level 1' 8 'Key Skills - Application of Number, Level 1' 9 'GCSE English, Level 1 (Grade D-G)' 10 'GCSE Math, Level 1 (Grade D-G)' 11 'Literacy, Level 2, Counting towards target' 12 'Numeracy, Level 2, Counting towards target' 13 'Language, Level 2, Counting towards target' 14 'Key Skills - Communication, Level 2' 15 'Key Skills - Application of Number, Level 2' 16 'GCSE English, Level 2 (Grade A*-C)' 17 'GCSE Math, Level 2 (Grade A*-C)' 18 'Literacy, Entry Level, Not counting towards target' 19 'Numeracy, Entry Level, Not counting towards target' 20 'Language, Entry Level, Not counting towards target' 21 'Literacy, Level 1, Not counting towards target' 22 'Numeracy, Level 1, Not counting towards target' 23 'Language, Level 1, Not counting towards target' 24 Literacy, Level 2, Not counting towards target' 25 Numeracy, Level 2, Not counting towards target' 26 'Language, Level 2, Not counting towards target'.
VALUE LABELS bs_esol 0 'learning aim is not ESOL' 1 'learning aim is ESOL'.
|