"""
VARNAMES: Each variable is identified by several substrings. 
Use the substrings to match the variable at a given wave.

VARNAMES_FFILL: The variables the should be ffilled because 
the most recent known value is accepted for us (ie: year of birth)
"""
variable_settings = {
    "VARNAMES_FFILL":[
        "Sex",
        "Year_Of_Birth",
        "Highest_Level_Education",
        "Personal_Income",
        "Household_Income",
        "Marital_Status",
        "Household_Size",
        "Uni",
        "Employment",
        "Job_Type",
        "Household_Type",
        "Household_Condition",
        "Social_Status",
        "Survey_Experience",
        "Cooperation_Responsiveness",
        "Cooperation_Survey",
        "Cooperation_Panel",
        "Cooperation_Wave",
        "Email_Provided",
        "Phone_Provided",
        "Subjective_Well_Being",
        "Social_Trust"
    ],
    "VARNAMES":
    {
        "Participation":["za003a","2a003a","a12a003b"],
        "Sex":[
            "a11d054a",
            "bfzh069a",
            "cfzh071a",
            "d11d054a",
            "d12d088a",
            "dfzh037a",
            "efzh031a",
            "f11d054a",
            "f12d116a",
            "ffzh031a",
            "gfzh031a",
            "hfzh023b"
        ],
        "Year_Of_Birth":[
            "a11d056b",
            "bfzh070c",
            "cfzh072c",
            "d11d056b",
            "d12d090c",
            "dfzh038c",
            "efzh032c",
            "f11d056b",
            "f12d118c",
            "ffzh032c",
            "gfzh032c",
            "hfzh024c"
        ],
        "Highest_Level_Education":[
            "a11d082b",
            "bfzh076a",
            "cfzh078a",
            "d11d082a",
            "d12d091b",
            "dfzh044a",
            "efzh038a",
            "f11d082a",
            "f12d119b",
            "ffzh038a",
            "gfzh038a",
            "hfzh030a"
        ],
        "Personal_Income":[
            "a11d096b",
            "bfzh088b",
            "cfzh089b",
            "d11d096d",
            "dfzh055b",
            "efzh049b",
            "f11d096d",
            "ffzh047b",
            "gfzh047b",
            "hfzh071b"
    ],
        "Household_Income":[
            "a11d097c",
            "bfzh089c",
            "cfzh090c",
            "d11d097d",
            "dfzh056c",
            "efzh050c",
            "f11d097d",
            "ffzh048c",
            "gfzh048c",
            "hfzh072c"
    ],
        "Marital_Status":[
            "a11d079b",
            "bfzh073b",
            "cfzh075b",
            "d11d079b",
            "dfzh041b",
            "efzh035b",
            "f11d079b",
            "ffzh035b",
            "gfzh035b",
            "hfzh027b"
        ],
        "Duration":["zp204a"],
        "Start":["p205a"],
        "End":["p206a"],
        "Household_Size":["1d093"],
        "Uni":["1d086"],
        "Employment":["1d089","ezh087","zh060"],
        "Job_Type":["1d092a","1d093a","1d093a"],
        "Household_Type":["a11p002a"],
        "Household_Condition":["a11p004a"],
        "Social_Status":["a11p005a"],
        "Survey_Experience":["a11c050a"],
        "Cooperation_Responsiveness":["a11p128a"],
        "Cooperation_Survey":["a11p129a"],
        "Cooperation_Panel":["a11p130a"],
        "Cooperation_Wave":["a11p131a"],
        "Email_Provided":["a11c119a"],
        "Phone_Provided":["a11c132a"],
        "Subjective_Well_Being":["a11c021a"],
        "Social_Trust":["a11c022a"],
        "Field_Start":["za004a","2a004a"],
        "Field_End":["za005a","2a005a","a11p173a"],
        "Disposition_Code":["zp201a","2p201a"],
        "Response_Category":["za006a","2a006a"],
        "Survey_Evaluation_Interesting":["zq001a","2q001a"],
        "Survey_Evaluation_Diverse":["zq002a","2q002a"],
        "Survey_Evaluation_Important":["zq003a","2q003a"],
        "Survey_Evaluation_Long":["zq004a","2q004a"],
        "Survey_Evaluation_Difficult":["zq005a","2q005a"],
        "Survey_Evaluation_Personal":["zq006a","2q006a"],
        "Survey_Evaluation_Overall":["zq009a","2q009a"],
        "Participation_Mode":["za002a","2a002a"],
        "Invitation_Mode":["za001a","2a001a"],
        "Survey_Break":["zq010a","2q010a"],
        "Survey_Place":["zq013a","2q013a"]
        
    }
}












