Step 1: The variable hlc0006_h is replaced by the variable hlc0006_v1 for the years 1999 to 2000.
Step 2: The variable hlc0006_v2 is recoded (12=21) (13=31) (14=41) (15=51) for the years 2001 to 2002 and subsequently integrated into the harmonized variable hlc0006_h.
Step 3: The variable hlc0006_h is replaced by the variable hlc0006_v3 for the years 2003 to 2020.
Step 4: The variable hlc0006_h is replaced with 1 for the year 2022, if hlc0006_v5 is 1.
Step 5: The variable hlc0006_h is replaced with 2 for the year 2022, if hlc0006_v5 is 2.
Step 6: The variable hlc0006_h is replaced with 3 for the year 2022, if hlc0006_v6 is 1.
Step 7: The variable hlc0006_h is replaced with 4 for the year 2022, if hlc0006_v6 is 2 and hlc0006_v7 is 1.
Step 8: The variable hlc0006_h is replaced with 5 for the year 2022, if hlc0006_v6 is 2 and hlc0006_v7 is 2 and hlc0006_v8 is 1.
Step 9: The variable hlc0006_h is replaced with 6 for the year 2022, if hlc0006_v6 is 2 and hlc0006_v7 is 2 and hlc0006_v8 is 2.
Step 10: The variable hlc0006_h is replaced with 21 for the year 2022, if hlc0006_v4 is 1 and hlc0006_v5 is -1.
Step 11: The variable hlc0006_h is replaced with 31 for the year 2022, if hlc0006_v4 is 2 and hlc0006_v6 is -1.
Step 12: The variable hlc0006_h is replaced with 41 for the year 2022, if hlc0006_v6 is 2 and hlc0006_v7 is -1.
Step 13: The variable hlc0006_h is replaced with 51 for the year 2022, if hlc0006_v6 is 2 and hlc0006_v7 is 2 and hlc0006_v8 is -1.
Step 14: The variable hlc0006_h is replaced with -2 for the year 2022, if hlc0006_v4 does not apply to the person asked and hlc0006_v5 does not apply to the person asked and hlc0006_v6 does not apply to the person asked and hlc0006_v7 does not apply to the person asked and hlc0006_v8 does not apply to the person asked.
Step 15: The variable hlc0006_h is replaced with -5 for the year 2022, if hlc0006_v4 is not included in that version of the questionnaire and hlc0006_v5 is not included in that version of the questionnaire and hlc0006_v6 is not included in that version of the questionnaire and hlc0006_v7 is not included in that version of the questionnaire and hlc0006_v8 is not included in that version of the questionnaire.
Step 16: The variable hlc0006_h is replaced with -1 for the year 2022, if hlc0006_v4 is -1.
Step 1: The variable hlc0006_h is replaced by the variable hlc0006_v1 for the years 1999 to 2000.
Step 2: The variable hlc0006_v2 is recoded (12=21) (13=31) (14=41) (15=51) for the years 2001 to 2002 and subsequently integrated into the harmonized variable hlc0006_h.
Step 3: The variable hlc0006_h is replaced by the variable hlc0006_v3 for the years 2003 to 2020.
Step 4: The variable hlc0006_h is replaced with 1 for the year 2022, if hlc0006_v5 is 1.
Step 5: The variable hlc0006_h is replaced with 2 for the year 2022, if hlc0006_v5 is 2.
Step 6: The variable hlc0006_h is replaced with 3 for the year 2022, if hlc0006_v6 is 1.
Step 7: The variable hlc0006_h is replaced with 4 for the year 2022, if hlc0006_v6 is 2 and hlc0006_v7 is 1.
Step 8: The variable hlc0006_h is replaced with 5 for the year 2022, if hlc0006_v6 is 2 and hlc0006_v7 is 2 and hlc0006_v8 is 1.
Step 9: The variable hlc0006_h is replaced with 6 for the year 2022, if hlc0006_v6 is 2 and hlc0006_v7 is 2 and hlc0006_v8 is 2.
Step 10: The variable hlc0006_h is replaced with 21 for the year 2022, if hlc0006_v4 is 1 and hlc0006_v5 is -1.
Step 11: The variable hlc0006_h is replaced with 31 for the year 2022, if hlc0006_v4 is 2 and hlc0006_v6 is -1.
Step 12: The variable hlc0006_h is replaced with 41 for the year 2022, if hlc0006_v6 is 2 and hlc0006_v7 is -1.
Step 13: The variable hlc0006_h is replaced with 51 for the year 2022, if hlc0006_v6 is 2 and hlc0006_v7 is 2 and hlc0006_v8 is -1.
Step 14: The variable hlc0006_h is replaced with -2 for the year 2022, if hlc0006_v4 does not apply to the person asked and hlc0006_v5 does not apply to the person asked and hlc0006_v6 does not apply to the person asked and hlc0006_v7 does not apply to the person asked and hlc0006_v8 does not apply to the person asked.
Step 15: The variable hlc0006_h is replaced with -5 for the year 2022, if hlc0006_v4 is not included in that version of the questionnaire and hlc0006_v5 is not included in that version of the questionnaire and hlc0006_v6 is not included in that version of the questionnaire and hlc0006_v7 is not included in that version of the questionnaire and hlc0006_v8 is not included in that version of the questionnaire.
Step 16: The variable hlc0006_h is replaced with -1 for the year 2022, if hlc0006_v4 is -1.