Step 1: The variable plb0358_v12 is recoded (10=15) (11=13) (12=14) for the year 2014 and subsequently integrated into the harmonized variable plb0358_h.
Step 2: The variable plb0358_v10 is recoded (2=4) (3=5) (4=6) (5=7) (6=8) (7=9) for the years 1999 to 2002 and subsequently integrated into the harmonized variable plb0358_h.
Step 3: The variable plb0358_h is replaced by the variable plb0358_v11 for the years 2003 to 2013.
Step 4: The variable plb0358_h is replaced by the variable plb0358_v13 for the years 2015 to 2023.
Step 5: The variable plb0358_h is replaced with -2 for the years 1985 to 1998.
Step 6: The variable plb0358_h is replaced with 1 for the years 1985 to 1998 if plb0358_v1 is 1 and the variables plb0358_v2 or plb0358_v3 or plb0358_v4 or plb0358_v5 or plb0358_v7 or plb0358_v8 or plb0358_v9 are not 1 and plb0358_v6 is not 1 and plb0358_v6 is not 2.
Step 7: The variable plb0358_h is replaced with 10 for the years 1989 to 1998 if plb0358_v8 is 1 and the variables plb0358_v1 or plb0358_v2 or plb0358_v3 or plb0358_v4 or plb0358_v5 or plb0358_v7 are not 1 and plb0358_v6 is not 1 and plb0358_v6 is not 2.
Step 8: The variable plb0358_h is replaced with 16 for the years 1985 to 1988 if plb0358_v4 is 1 and the variables plb0358_v1 or plb0358_v2 or plb0358_v3 or plb0358_v5 or plb0358_v7 or plb0358_v8 or plb0358_v9 are not 1 and plb0358_v6 is not 1 and plb0358_v6 is not 2.
Step 9: The variable plb0358_h is replaced with 17 for the years 1985 to 1988 if plb0358_v5 is 1 and the variables plb0358_v1 or plb0358_v2 or plb0358_v3 or plb0358_v4 or plb0358_v7 or plb0358_v8 or plb0358_v9 are not 1 and plb0358_v6 is not 1 and plb0358_v6 is not 2.
Step 10: The variable plb0358_h is replaced with 4 for the years 1995 to 1998 if plb0358_v9 is 1 and the variables plb0358_v1 or plb0358_v2 or plb0358_v3 or plb0358_v4 or plb0358_v5 or plb0358_v7 or plb0358_v7 or plb0358_v8 are not 1 and plb0358_v6 is not 1 and plb0358_v6 is not 2.
Step 11: The variable plb0358_h is replaced with 5 for the years 1985 to 1998 if plb0358_v2 is 1 and the variables plb0358_v1 or plb0358_v3 or plb0358_v4 or plb0358_v5 or plb0358_v7 or plb0358_v8 or plb0358_v9 are not 1 and plb0358_v6 is not 1 and plb0358_v6 is not 2.
Step 12: The variable plb0358_h is replaced with 7 for the years 1985 to 1998 if plb0358_v3 is 1 and the variables plb0358_v1 or plb0358_v2 or plb0358_v4 or plb0358_v5 or plb0358_v7 or plb0358_v8 or plb0358_v9 are not 1 and plb0358_v6 is not 1 and plb0358_v6 is not 2.
Step 13: The variable plb0358_h is replaced with 8 for the years 1989 to 1998 if plb0358_v7 is 1 and the variables plb0358_v1 or plb0358_v2 or plb0358_v3 or plb0358_v4 or plb0358_v5 or plb0358_v8 are not 1 and plb0358_v6 is not 1 and plb0358_v6 is not 2.
Step 14: The variable plb0358_h is replaced with 9 for the years 1985 to 1998 if (plb0358_v6 is 1 OR plb0358_v6 is 2) and the variables plb0358_v1 or plb0358_v2 or plb0358_v3 or plb0358_v4 or plb0358_v5 or plb0358_v7 or plb0358_v8 or plb0358_v9 are not 1.
Step 15: The variable plb0358_h is replaced with 18 for the years 1985 to 1998 if plb0358_h does not apply to the person asked and ( the variables plb0358_v1 or plb0358_v2 or plb0358_v3 or plb0358_v4 or plb0358_v5 or plb0358_v6 or plb0358_v7 or plb0358_v8 or plb0358_v9 are 1 OR plb0358_v6 is 1 OR plb0358_v6 is 2).
Step 16: The variable plb0358_v14 is recoded (16=1) (17=4) (18=6) for the years 2021 to 2023 and subsequently integrated into the harmonized variable plb0358_h if.
Step 1: The variable plb0358_v12 is recoded (10=15) (11=13) (12=14) for the year 2014 and subsequently integrated into the harmonized variable plb0358_h.
Step 2: The variable plb0358_v10 is recoded (2=4) (3=5) (4=6) (5=7) (6=8) (7=9) for the years 1999 to 2002 and subsequently integrated into the harmonized variable plb0358_h.
Step 3: The variable plb0358_h is replaced by the variable plb0358_v11 for the years 2003 to 2013.
Step 4: The variable plb0358_h is replaced by the variable plb0358_v13 for the years 2015 to 2023.
Step 5: The variable plb0358_h is replaced with -2 for the years 1985 to 1998.
Step 6: The variable plb0358_h is replaced with 1 for the years 1985 to 1998 if plb0358_v1 is 1 and the variables plb0358_v2 or plb0358_v3 or plb0358_v4 or plb0358_v5 or plb0358_v7 or plb0358_v8 or plb0358_v9 are not 1 and plb0358_v6 is not 1 and plb0358_v6 is not 2.
Step 7: The variable plb0358_h is replaced with 10 for the years 1989 to 1998 if plb0358_v8 is 1 and the variables plb0358_v1 or plb0358_v2 or plb0358_v3 or plb0358_v4 or plb0358_v5 or plb0358_v7 are not 1 and plb0358_v6 is not 1 and plb0358_v6 is not 2.
Step 8: The variable plb0358_h is replaced with 16 for the years 1985 to 1988 if plb0358_v4 is 1 and the variables plb0358_v1 or plb0358_v2 or plb0358_v3 or plb0358_v5 or plb0358_v7 or plb0358_v8 or plb0358_v9 are not 1 and plb0358_v6 is not 1 and plb0358_v6 is not 2.
Step 9: The variable plb0358_h is replaced with 17 for the years 1985 to 1988 if plb0358_v5 is 1 and the variables plb0358_v1 or plb0358_v2 or plb0358_v3 or plb0358_v4 or plb0358_v7 or plb0358_v8 or plb0358_v9 are not 1 and plb0358_v6 is not 1 and plb0358_v6 is not 2.
Step 10: The variable plb0358_h is replaced with 4 for the years 1995 to 1998 if plb0358_v9 is 1 and the variables plb0358_v1 or plb0358_v2 or plb0358_v3 or plb0358_v4 or plb0358_v5 or plb0358_v7 or plb0358_v7 or plb0358_v8 are not 1 and plb0358_v6 is not 1 and plb0358_v6 is not 2.
Step 11: The variable plb0358_h is replaced with 5 for the years 1985 to 1998 if plb0358_v2 is 1 and the variables plb0358_v1 or plb0358_v3 or plb0358_v4 or plb0358_v5 or plb0358_v7 or plb0358_v8 or plb0358_v9 are not 1 and plb0358_v6 is not 1 and plb0358_v6 is not 2.
Step 12: The variable plb0358_h is replaced with 7 for the years 1985 to 1998 if plb0358_v3 is 1 and the variables plb0358_v1 or plb0358_v2 or plb0358_v4 or plb0358_v5 or plb0358_v7 or plb0358_v8 or plb0358_v9 are not 1 and plb0358_v6 is not 1 and plb0358_v6 is not 2.
Step 13: The variable plb0358_h is replaced with 8 for the years 1989 to 1998 if plb0358_v7 is 1 and the variables plb0358_v1 or plb0358_v2 or plb0358_v3 or plb0358_v4 or plb0358_v5 or plb0358_v8 are not 1 and plb0358_v6 is not 1 and plb0358_v6 is not 2.
Step 14: The variable plb0358_h is replaced with 9 for the years 1985 to 1998 if (plb0358_v6 is 1 OR plb0358_v6 is 2) and the variables plb0358_v1 or plb0358_v2 or plb0358_v3 or plb0358_v4 or plb0358_v5 or plb0358_v7 or plb0358_v8 or plb0358_v9 are not 1.
Step 15: The variable plb0358_h is replaced with 18 for the years 1985 to 1998 if plb0358_h does not apply to the person asked and ( the variables plb0358_v1 or plb0358_v2 or plb0358_v3 or plb0358_v4 or plb0358_v5 or plb0358_v6 or plb0358_v7 or plb0358_v8 or plb0358_v9 are 1 OR plb0358_v6 is 1 OR plb0358_v6 is 2).
Step 16: The variable plb0358_v14 is recoded (16=1) (17=4) (18=6) for the years 2021 to 2023 and subsequently integrated into the harmonized variable plb0358_h if.