* 2017_cross_eu_silc_h_ver_2020_09.do * * STATA Command Syntax File * Stata 16.1; * * Transforms the EU-SILC CSV-data (as released by Eurostat) into a Stata systemfile * * EU-SILC Cross 2017 - / DOI: https://doi.org/10.2907/EUSILC2004-2019V.1 * When publishing statistics derived from the EU-SILC UDB, please state as source: * "EU-SILC UDB – version of 2020-09" * * Household data file: * This version of the EU-SILC has been delivered in form of seperate country files. * The following do-file transforms the raw data into a single Stata file using all available country files. * Country files are delivered in the format UDB_c*country_stub*17H.csv * * * PLEASE NOTE * For Differences between data as described in the guidelines * and the anonymised user database as well as country specific anonymisation measures see: * C-2017 DIFFERENCES BETWEEN DATA COLLECTED.doc * * (c) GESIS 2021-01-13 * GESIS - Leibniz Institute for the Social Sciences * German Microdata Lab * Valentina Ponomarenko * https://www.gesis.org/gml/european-microdata/eu-silc/ * * Contact: heike.wirth@gesis.org /* Initialization commands */ clear capture log close set more off set linesize 250 set varabbrev off #delimit ; * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -; * CONFIGURATION SECTION - Start ; * The following command should contain the complete path and * name of the Stata log file. * Change LOG_FILENAME to your filename ; local log_file "LOG_FILENAME" ; * The following command should contain the complete path where the CSV data files are stored * Change CSV_PATH to your file path (e.g.: C:/EU-SILC/Crossectional 2004-2019) * Use forward slashes and keep path structure as delivered by Eurostat CSV_PATH/COUNTRY/YEAR; global csv_path "CSV_PATH" ; * The following command should contain the complete path and * name of the STATA file, usual file extension "dta". * Change STATA_FILENAME to your final filename ; local stata_file "STATA_FILENAME" ; * CONFIGURATION SECTION - End ; * There should be probably nothing to change below this line ; * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ; * Loop to open and convert csv files into one dta file ; tempfile temp ; save `temp', emptyok ; foreach CC in AT BE BG CH CY CZ DE DK EE EL ES FI FR HR HU IE IS IT LT LU LV MT NL NO PL PT RO RS SE SI SK UK { ; cd "$csv_path/`CC'/2017" ; import delimited using "UDB_c`CC'17H.csv", case(upper) clear ; * In some countries non-numeric characters are wrongfully included. * This command prevents errors in the format. ; destring HB100, ignore ("**")replace ; append using `temp', force ; save `temp', replace ; } ; * Countries in data file are sorted in alphanumeric order ; sort HB020 ; log using "`log_file'", replace text ; * Definition of variable labels ; label variable HB010 "Year of the survey" ; label variable HB020 "Country alphanumeric" ; label variable HB030 "Household ID" ; label variable HB050 "Quarter of household interview" ; label variable HB050_F "Flag" ; label variable HB060 "Year of household interview" ; label variable HB060_F "Flag" ; label variable HB070 "Person responding to household questionnaire" ; label variable HB070_F "Flag" ; label variable HB080 "Person 1 responsible for the accommodation" ; label variable HB080_F "Flag" ; label variable HB090 "Person 2 responsible for the accommodation" ; label variable HB090_F "Flag" ; label variable HB100 "Number of minutes to complete the household questionnaire" ; label variable HB100_F "Flag" ; label variable HD080 "Replacing worn-out furniture"; label variable HD080_F "Flag"; label variable HH010 "Dwelling type (DE: missing)" ; label variable HH010_F "Flag" ; label variable HH021 "Tenure status" ; label variable HH021_F "Flag" ; label variable HH030 "Number of rooms available to the household (DE: missing)" ; label variable HH030_F "Flag" ; label variable HH031 "Year of contract or purchasing or installation" ; label variable HH031_F "Flag" ; label variable HH040 "Leaking roof, damp walls/floors/foundation, or rot in window frame or floor" ; label variable HH040_F "Flag" ; label variable HH050 "Ability to keep home adequately warm" ; label variable HH050_F "Flag" ; label variable HH060 "Current rent related to occupied dwelling" ; label variable HH060_F "Flag" ; label variable HH061 "Subjective rent" ; label variable HH061_F "Flag" ; label variable HH070 "Total housing cost" ; label variable HH070_F "Flag" ; label variable HH071 "Mortgage principal repayment" ; label variable HH071_F "Flag" ; label variable HH081 "Bath or shower in dwelling (DE: missing)" ; label variable HH081_F "Flag" ; label variable HH091 "Indoor flushing toilet for sole use of household (DE: missing)" ; label variable HH091_F "Flag" ; label variable HS011 "Arrears on mortgage or rent payments" ; label variable HS011_F "Flag" ; label variable HS021 "Arrears on utility bills" ; label variable HS021_F "Flag" ; label variable HS031 "Arrears on hire purchase installments or other loan payments" ; label variable HS031_F "Flag" ; label variable HS040 "Capacity to afford paying for one week annual holiday away from home" ; label variable HS040_F "Flag" ; label variable HS050 "Capacity to afford a meal with meat, chicken, fish (or vegetarian equivalent) every second day" ; label variable HS050_F "Flag" ; label variable HS060 "Capacity to face unexpected financial expenses" ; label variable HS060_F "Flag" ; label variable HS070 "Do you have a telephone (including mobile phone?) (DE: missing)" ; label variable HS070_F "Flag" ; label variable HS080 "Do you have a colour TV?" ; label variable HS080_F "Flag" ; label variable HS090 "Do you have a computer?" ; label variable HS090_F "Flag" ; label variable HS100 "Do you have a washing maschine?" ; label variable HS100_F "Flag" ; label variable HS110 "Do you have a car?" ; label variable HS110_F "Flag" ; label variable HS120 "Ability to make ends meet" ; label variable HS120_F "Flag" ; label variable HS130 "Lowest monthly income to make end meet" ; label variable HS130_F "Flag" ; label variable HS140 "Financial burden of the total housing cost" ; label variable HS140_F "Flag" ; label variable HS150 "Financial burden of the repayment of debts from hire purchases or loans" ; label variable HS150_F "Flag" ; label variable HS160 "Problems with the dwelling: too dark, not enough light" ; label variable HS160_F "Flag" ; label variable HS170 "Noise from neighbours or from the street" ; label variable HS170_F "Flag" ; label variable HS180 "Pollution, grime or other environmental problems" ; label variable HS180_F "Flag" ; label variable HS190 "Crime violence or vandalism in the area" ; label variable HS190_F "Flag" ; label variable HS200 "Financial burden of medical care" ; label variable HS200_F "Flag" ; label variable HS210 "Financial burden of dental care" ; label variable HS210_F "Flag" ; label variable HS220 "Financial burden of medicines" ; label variable HS220_F "Flag" ; * For HY010, HY020, HY022, HY023: Please see Differences Collection vs UDB for more information ; label variable HY010 "Total household gross income (DE, EE, SI, UK: Adjustments)" ; label variable HY010_F "Flag" ; label variable HY010_I "Imputation factor" ; label variable HY020 "Total disposable household income (DE, EE, SI, UK: Adjustments)" ; label variable HY020_F "Flag" ; label variable HY020_I "Imputation factor" ; label variable HY022 "Total disposable household income before social transfers other than old-age and survivors benefits (DE, EE, SI, UK: Adjustments)" ; label variable HY022_F "Flag" ; label variable HY022_I "Imputation factor" ; label variable HY023 "Total disposable household income before social transfers including old-age and survivors benefits (DE, EE, SI, UK: Adjustments)" ; label variable HY023_F "Flag" ; label variable HY023_I "Imputation factor" ; label variable HY030G "Imputed rent (gross)" ; label variable HY030G_F "Flag" ; label variable HY040G "Income from rental of a property or land (gross; DE, SI: Top coding)" ; label variable HY040G_F "Flag" ; label variable HY040G_I "Imputation factor" ; label variable HY050G "Family/Children related allowances (gross; SI: Top coding)" ; label variable HY050G_F "Flag" ; label variable HY050G_I "Imputation factor" ; label variable HY051G "Family/Children-related allowances (contributory and means-tested)"; label variable HY051G_F "Flag"; label variable HY052G "Family/ children-related allowances (contributory and non means-tested)"; label variable HY052G_F "Flag"; label variable HY053G "Family/Children-related allowances (non-contributory and means-tested)"; label variable HY053G_F "Flag"; label variable HY054G "Family/Children-related allowance (non-contributory and non means-tested)"; label variable HY054G_F "Flag"; label variable HY060G "Social exclusion not elsewhere classified (gross; SI: Top coding)" ; label variable HY060G_F "Flag" ; label variable HY060G_I "Imputation factor" ; label variable HY061G "Social exclusion not elsewhere classified (contributory and means-tested)"; label variable HY061G_F "Flag"; label variable HY062G "Social exclusion not elsewhere classified (contributory and non means-tested)"; label variable HY062G_F "Flag"; label variable HY063G "Social exclusion not elsewhere classified (non-contributory and means-tested"; label variable HY063G_F "Flag"; label variable HY064G "Social exclusion not elsewhere classified (non-contributory and non means-tested)"; label variable HY064G_F "Flag"; label variable HY070G "Housing allowances (gross; SI: Top coding)" ; label variable HY070G_F "Flag" ; label variable HY070G_I "Imputation factor" ; label variable HY071G "Housing allowances (contributory and means-tested)"; label variable HY071G_F "Flag"; label variable HY072G "Housing allowances (contributory and non means-tested)"; label variable HY072G_F "Flag"; label variable HY073G "Housing allowances (non-contributory and means-tested)"; label variable HY073G_F "Flag"; label variable HY074G "Housing allowances (non-contributory andnon means-tested)"; label variable HY074G_F "Flag"; label variable HY080G "Regular Interhousehold cash transfer received (gross; SI: Top coding)" ; label variable HY080G_F "Flag" ; label variable HY080G_I "Imputation factor" ; label variable HY081G "Alimonies received (gross; SI: Top coding)" ; label variable HY081G_F "Flag" ; label variable HY081G_I "Imputation factor" ; label variable HY090G "Interests, dividends, profit from capital investment in uncorporated business (gross; DE, EE, SI, UK: Top coding)" ; label variable HY090G_F "Flag" ; label variable HY090G_I "Imputation factor" ; label variable HY100G "Interest repayments on mortgage (gross)" ; label variable HY100G_F "Flag" ; label variable HY100G_I "Imputation factor" ; label variable HY110G "Income received by people aged under 16 (gross; SI: Top coding)" ; label variable HY110G_F "Flag" ; label variable HY110G_I "Imputation factor" ; label variable HY120G "Regular taxes on wealth (gross, EE, SI, UK: Top coding)" ; label variable HY120G_F "Flag" ; label variable HY120G_I "Imputation factor" ; label variable HY130G "Regular interhousehold cash transfer paid (gross; SI: Top coding)" ; label variable HY130G_F "Flag" ; label variable HY130G_I "Imputation factor" ; label variable HY131G "Alimonies paid (gross; SI: Top coding)" ; label variable HY131G_F "Flag" ; label variable HY131G_I "Imputation factor" ; label variable HY140G "Tax on income and social contributions (gross; DE, EE, UK: Top & bottom coding)" ; label variable HY140G_F "Flag" ; label variable HY140G_I "Imputation factor" ; label variable HY170G "Value of goods produced for own consumption (gross)" ; label variable HY170G_F "Flag" ; label variable HY170G_I "Imputation factor" ; label variable HY030N "Imputed rent (net)" ; label variable HY030N_F "Flag" ; label variable HY040N "Income from rental of a property or land (net; DE, SI: Top coding)" ; label variable HY040N_F "Flag" ; label variable HY040N_I "Imputation factor" ; label variable HY050N "Family/Children related allowances (net; SI: Top coding)" ; label variable HY050N_F "Flag" ; label variable HY050N_I "Imputation factor" ; label variable HY060N "Social exclusion not elsewhere classified (net; SI: Top coding)" ; label variable HY060N_F "Flag" ; label variable HY060N_I "Imputation factor" ; label variable HY070N "Housing allowances (net; SI: Top coding)" ; label variable HY070N_F "Flag" ; label variable HY070N_I "Imputation factor" ; label variable HY080N "Regular interhousehold cash received (net; SI: Top coding)" ; label variable HY080N_F "Flag" ; label variable HY080N_I "Imputation factor" ; label variable HY081N "Alimonies received (net; SI: Top coding)" ; label variable HY081N_F "Flag" ; label variable HY081N_I "Imputation factor" ; label variable HY090N "Interests, dividends, profit from capital investment in uncorporated business (net; DE, SI: Top coding)" ; label variable HY090N_F "Flag" ; label variable HY090N_I "Imputation factor" ; label variable HY100N "Interest repayment on mortgage (net)" ; label variable HY100N_F "Flag" ; label variable HY100N_I "Imputation factor" ; label variable HY110N "Income received by people aged under 16 (net; SI: Top coding)" ; label variable HY110N_F "Flag" ; label variable HY110N_I "Imputation factor" ; label variable HY120N "Regular taxes on wealth (net; SI: Top coding)" ; label variable HY120N_F "Flag" ; label variable HY120N_I "Imputation factor" ; label variable HY130N "Regular inter-household cash transfer paid (net; SI: Top coding)" ; label variable HY130N_F "Flag" ; label variable HY130N_I "Imputation factor" ; label variable HY131N "Alimonies paid (net; SI: Top coding)" ; label variable HY131N_F "Flag" ; label variable HY131N_I "Imputation factor" ; label variable HY140N "Tax on income and social contribution (net; DE: Top & bottom coding)" ; label variable HY140N_F "Flag" ; label variable HY140N_I "Imputation factor" ; label variable HY145N "Repayments/receipts for tax adjustment (net; SI: Top & bottom coding)" ; label variable HY145N_F "Flag" ; label variable HY145N_I "Imputation factor" ; label variable HY170N "Value of goods produced for own consumption (net)" ; label variable HY170N_F "Flag" ; label variable HY170N_I "Imputation Factor" ; label variable HX010 "Change rate" ; label variable HX040 "Household size (MT: Top coded to 6; DE: deleted 7 or more)" ; label variable HX050 "Equivalised household size" ; label variable HX060 "Household type"; label variable HX070 "Tenure state"; label variable HX080 "Poverty indicator" ; label variable HX090 "Equivalised disposable income (SI: Adjustments)" ; label variable HX120 "Overcrowded household"; * Ad-hoc module on children's health care ; label variable HC010T "Unmet need for medical examination or treatment (children, DE: missing)" ; label variable HC010T_F "Flag" ; label variable HC020T "Main reason for unmet need for medical examination or treatment (children, DE: missing)" ; label variable HC020T_F "Flag" ; label variable HC030T "Unmet need for dental examination or treatment (children, DE: missing)" ; label variable HC030T_F "Flag" ; label variable HC040T "Main reason for unmet need for dental examination or treatment (children, DE: missing)" ; label variable HC040T_F "Flag" ; label variable HC050T "Module child 0-15 Household weight (optional)" ; label variable HC050T_F "Flag" ; * Definition of category labels ; label define HB050_VALUE_LABELS 1 "January, February, March" 2 "April, May, June" 3 "July, August, September" 4 "October, November, December" ; label define HB050_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HB060_F_VALUE_LABELS 1 "Filled" ; label define HB070_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HB080_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HB090_F_VALUE_LABELS 1 "Filled" -1 "Missing" -2 "Not applicable (no 2nd responsible)" ; label define HB100_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HD080_VALUE_LABELS 1 "Yes" 2 "No - household cannot afford it" 3 "No - other reason" ; label define HD080_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HH010_VALUE_LABELS 1 "Detached house" 2 "Semi-detached house" 3 "Apartment or flat in a building with < 10 dwellings" 4 "Apartment or flat in a building with >=10 dwellings" ; label define HH010_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HH021_VALUE_LABELS 1 "Outright owner" 2 "Owner paying mortgage" 3 "Tenant/subtenant paying rent at prevailing or market rate" 4 "Accommodation is rented at a reduced rate (lower price that the market price)" 5 "Accommodation is provided free" ; label define HH021_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HH030_VALUE_LABELS 6 "Six or more rooms" ; label define HH030_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HH031_VALUE_LABELS 1962 "PT: 1962 and earlier" 1946 "SI: 1946 and earlier" ; ;label define HH031_F_VALUE_LABELS 1 "Filled" -1 "Missing" -2 "Not applicable" ; label define HH040_VALUE_LABELS 1 "Yes" 2 "No" ; label define HH040_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HH050_VALUE_LABELS 1 "Yes" 2 "No" ; label define HH050_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HH060_F_VALUE_LABELS 1 "Filled" -1 "Missing" -2 "Not applicable (HH021 not equal 3 or 4)" ; label define HH061_F_VALUE_LABELS 1 "Filled" -1 "Missing" -2 "Not applicable (HH021 equal 3) or (MS do not use subjective method to calculate imputed rent)" ; label define HH070_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HH071_F_VALUE_LABELS 1 "Filled" -1 "Missing" -2 "Not applicable (HH021 not equal 2)" ; label define HH081_VALUE_LABELS 1 "Yes, for sole use of the household" 2 "Yes, shared" 3 "No" ; label define HH081_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HH091_VALUE_LABELS 1 "Yes, for sole use of the household" 2 "Yes, shared" 3 "No" ; label define HH091_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HS011_VALUE_LABELS 1 "Yes, once" 2 "Yes, twice or more" 3 "No" ; label define HS011_F_VALUE_LABELS 1 "Filled" -1 "Missing" -2 "Not applicable" ; label define HS021_VALUE_LABELS 1 "Yes, once" 2 "Yes, twice or more" 3 "No" ; label define HS021_F_VALUE_LABELS 1 "Filled" -1 "Missing" -2 "Not applicable" ; label define HS031_VALUE_LABELS 1 "Yes, once" 2 "Yes, twice or more" 3 "No" ; label define HS031_F_VALUE_LABELS 1 "Filled" -1 "Missing" -2 "Not applicable" ; label define HS040_VALUE_LABELS 1 "Yes" 2 "No" ; label define HS040_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HS050_VALUE_LABELS 1 "Yes" 2 "No" ; label define HS050_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HS060_VALUE_LABELS 1 "Yes" 2 "No" ; label define HS060_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HS070_VALUE_LABELS 1 "Yes" 2 "No - cannot afford" 3 "No - other reason" ; label define HS070_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HS080_VALUE_LABELS 1 "Yes" 2 "No - cannot afford" 3 "No - other reason" ; label define HS080_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HS090_VALUE_LABELS 1 "Yes" 2 "No - cannot afford" 3 "No - other reason" ; label define HS090_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HS100_VALUE_LABELS 1 "Yes" 2 "No - cannot afford" 3 "No - other reason" ; label define HS100_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HS110_VALUE_LABELS 1 "Yes" 2 "No - cannot afford" 3 "No - other reason" ; label define HS110_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HS120_VALUE_LABELS 1 "With great difficulty" 2 "with difficulty" 3 "With some difficulty" 4 "Fairly easily" 5 "Easily" 6 "Very easily" ; label define HS120_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HS130_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HS140_VALUE_LABELS 1 "A heavy burden" 2 "Somewhat a burden" 3 "Not a burden at all" ; label define HS140_F_VALUE_LABELS 1 "Filled" -1 "Missing" -2 "Not applicable (no housing costs)" ; label define HS150_VALUE_LABELS 1 "Repayment is a heavy burden" 2 "Repayment is somewhat a burden" 3 "Repayment is not a burden at all" ; label define HS150_F_VALUE_LABELS 1 "Filled" -1 "Missing" -2 "Not applicable (no repayment of debts)" ; label define HS160_VALUE_LABELS 1 "Yes" 2 "No" ; label define HS160_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HS170_VALUE_LABELS 1 "Yes" 2 "No" ; label define HS170_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HS180_VALUE_LABELS 1 "yes" 2 "no" ; label define HS180_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HS190_VALUE_LABELS 1 "Yes" 2 "No" ; label define HS190_F_VALUE_LABELS 1 "Filled" -1 "Missing" ; label define HS200_VALUE_LABELS 1 "Heavy burden" 2 "Somewhat burden" 3 "Not a burden at all" ; label define HS200_F_VALUE_LABELS 1 "Filled" -1 "Missing" -2 "Not applicable (no one in the household needed/had medical care)" -7 "Not applicable (HB010 not equal 2017)" ; label define HS210_VALUE_LABELS 1 "Heavy burden" 2 "Somewhat burden" 3 "Not a burden at all" ; label define HS210_F_VALUE_LABELS 1 "Filled" -1 "Missing" -2 "Not applicable (no one in the household needed/had dental care))" -7 "Not applicable (HB010 not equal 2017)" ; label define HS220_VALUE_LABELS 1 "Heavy burden" 2 "Somewhat burden" 3 "Not a burden at all" ; label define HS220_F_VALUE_LABELS 1 "Filled" -1 "Missing" -2 "Not applicable (no one in the household needed/used medicines)" -7 "Not applicable (HB010 not 2017)" ; label define HY010_F_VALUE_LABELS 0 "No income" 1 "Data collection: net" 2 "Data collection: gross" 3 "Data collection: net and gross" 4 "Data collection: unknown" -1 "Missing" -5 "Not filled: no conversion to gross is done" ; label define HY030G_F_VALUE_LABELS 0 "No income" 1 "Filled" -1 "Missing" -5 "Not filled: variable of net (...g)gross (...n) series is filled" ; label define HY040G_F_VALUE_LABELS 0 "No income" 1 "Collected net of tax on income at source and social contributions" 2 "Collected net of tax on income at source" 3 "Collected net of tax on social contributions" 4 "Collected gross" 5 "Collected unknown" 6 "Mix (parts of the component collected according to different ways" -1 "Missing" -4 "Missing (amount included in another income component)" -5 "Not filled: variable of net series is filled" ; label define HY051G_F_VALUE_LABELS 2 "Filled with mixed components" 1 "Filled with only contributory and means-tested components" 0 "No income" -1 "Missing" -2 "Not available (This scheme doesn't exist at national level)" -7 "Not applicable (HB010 < 2014)" ; label define HY030N_F_VALUE_LABELS 0 "No income" 1 "Filled" -1 "Missing" -5 "Not filled: variable of gross series is filled" ; label define HY040N_F_VALUE_LABELS 0 "No income" 1 "Net of tax on income at source and social contributions" 11 "Collected & recorded net of tax on income at source & social contributions" 13 "Collected net of tax on income at source & social contrib./rec. net of tax on social contrib." 22 "Collected & recorded net of tax on income at source" 31 "Collected net of tax on social contribution/recorded net of tax on income & social contributions" 32 "Collected net of tax on social contribution/rec. net of tax on income at source" 33 "Collected & recorded net of tax on social contributions" 41 "Collected gross/recorded net of tax on income & social contributions" 42 "Collected gross/recorded net of tax on income at source" 43 "Collected gross/recorded net of tax on social contributions" 51 "Collected unknown/recorded net of tax on income & social contributions" 52 "Collected unknown/recorded net of tax on income at source" 53 "Collected unknown/recorded net of tax on social contributions" 55 "Unknown" 56 "Collected unknown/recorded mixed" 61 "Mix (parts of the component collected according to different ways/deductive imputation)" -1 "Missing" -4 "Missing (amount included in another income component)" -5 "Not filled: variable of gross series is filled" ; label define HY140N_F_VALUE_LABELS 0 "no income" 1 "variable is filled" -1 "missing" -5 "Not filled: variable of the gross series is filled" ; label define HX040_VALUE_LABELS 6 "MT: top coding 6 or more" 7 "DE: deleted 7 or more households" ; label define HX060_VALUE_LABELS 5 "One person household" 6 "2 adults, no dependent children, both adults under 65 years" 7 "2 adults, no dependent children, at least one adult >=65 years" 8 "Other households without dependent children" 9 "Single parent household, one or more dependent children" 10 "2 adults, one dependent child" 11 "2 adults, two dependent children" 12 "2 adults, three or more dependent children" 13 "Other households with dependent children" 16 "Other (these household are excluded from Laeken indicators calculation)" ; label define HX070_VALUE_LABELS 1 "When HH020= 1 or 4" 2 "When HH020= 2 or 3" ; label define HX080_VALUE_LABELS 0 "When HX090>= at risk of poverty threshold (60% of Median HX090)" 1 "When HX090 < at risk of poverty threshold (60% of Median HX090)" ; label define HX120_VALUE_LABELS 0 "Not overcrowded" 1 "Overcrowded" ; * Ad-hoc module on children's health care ; label define HC010T_VALUE_LABELS 1 "Yes (there was at least one occasion where at least one of the children did not have a medical examination or treatment)" 2 "No (the child(ren) had a medical examination or treatment each time it was needed)" ; label define HC010T_F_VALUE_LABELS 1 "Filled" -1 "Missing" -2 "Not applicable (none of the children really needed any medical examination or treatment)" -5 "Not applicable (no children aged under 16 in the household)" -7 "Not applicable (HB010 not equal 2017)" ; label define HC020T_VALUE_LABELS 1 "Could not afford to (too expensive)" 2 "Waiting list" 3 "Could not make the time because of work, care of other children or of other people" 4 "Too far to travel or no means of transport" 5 "Other reason" ; label define HC020T_F_VALUE_LABELS 1 "Filled" -1 "Missing" -2 "Not applicable (HC010T not equal 1 / HC010T not equal to Yes)" -5 "Not applicable (no children aged under 16 in the household)" -7 "Not applicable (HB010 not equal 2017)" ; label define HC030T_VALUE_LABELS 1 "Yes (there was at least one occasion where at least one of the children did not have a dental examination or treatment)" 2 "No (the child(ren) had a dental examination or treatment each time it was needed)" ; label define HC030T_F_VALUE_LABELS 1 "Filled" -1 "Missing" -2 "Not applicable (none of the children really needed any dental examination or treatment)" -5 "Not applicable (no children aged under 16 in the household)" -7 "Not applicable (HB010 not equal 2017)" ; label define HC040T_VALUE_LABELS 1 "Could not afford to (too expensive)" 2 "Waiting list" 3 "Could not make the time because of work, care of other children or of other people" 4 "Too far to travel or no means of transport" 5 "Other reason" ; label define HC040T_F_VALUE_LABELS 1 "Filled" -1 "Missing" -2 "Not applicable (HC030T not equal 1 / HC030T not equal to Yes)" -5 "Not applicable (no children aged under 16 in the household)" -7 "Not applicable (HB010 not equal 2017)" ; label define HC050T_F_VALUE_LABELS 1 "Filled" -1 "Missing" -2 "Not applicable No household member aged 0-15 at the time of interview with (RB110 equal to 1, 2, 3 or 4)" -5 "Not applicable (no children aged under 16 in the household)" -7 "Not applicable (RB010 not equal last year)" ; * Attachment of category labels to variable ; label values HB050 HB050_VALUE_LABELS ; label values HB050_F HB050_F_VALUE_LABELS ; label values HB060_F HB060_F_VALUE_LABELS ; label values HB070_F HB070_F_VALUE_LABELS ; label values HB080_F HB080_F_VALUE_LABELS ; label values HB090_F HB090_F_VALUE_LABELS ; label values HB100_F HB100_F_VALUE_LABELS ; label values HD080 HD080_VALUE_LABELS; label values HD080_F HD080_F_VALUE_LABELS; label values HH021 HH021_VALUE_LABELS ; label values HH021_F HH021_F_VALUE_LABELS ; label values HH010 HH010_VALUE_LABELS ; label values HH010_F HH010_F_VALUE_LABELS ; label values HH030 HH030_VALUE_LABELS ; label values HH030_F HH030_F_VALUE_LABELS ; label values HH031 HH031_VALUE_LABELS ; label values HH031_F HH031_F_VALUE_LABELS ; label values HH040 HH040_VALUE_LABELS ; label values HH040_F HH040_F_VALUE_LABELS ; label values HH050 HH050_VALUE_LABELS ; label values HH050_F HH050_F_VALUE_LABELS ; label values HH060_F HH060_F_VALUE_LABELS ; label values HH061_F HH061_F_VALUE_LABELS ; label values HH070_F HH070_F_VALUE_LABELS ; label values HH071_F HH071_F_VALUE_LABELS ; label values HH081 HH081_VALUE_LABELS ; label values HH081_F HH081_F_VALUE_LABELS ; label values HH091 HH091_VALUE_LABELS ; label values HH091_F HH091_F_VALUE_LABELS ; label values HS011 HS011_VALUE_LABELS ; label values HS011_F HS011_F_VALUE_LABELS ; label values HS021 HS021_VALUE_LABELS ; label values HS021_F HS021_F_VALUE_LABELS ; label values HS031 HS031_VALUE_LABELS ; label values HS031_F HS031_F_VALUE_LABELS ; label values HS040 HS040_VALUE_LABELS ; label values HS040_F HS040_F_VALUE_LABELS ; label values HS050 HS050_VALUE_LABELS ; label values HS050_F HS050_F_VALUE_LABELS ; label values HS060 HS060_VALUE_LABELS ; label values HS060_F HS060_F_VALUE_LABELS ; label values HS070 HS070_VALUE_LABELS ; label values HS070_F HS070_F_VALUE_LABELS ; label values HS080 HS080_VALUE_LABELS ; label values HS080_F HS080_F_VALUE_LABELS ; label values HS090 HS090_VALUE_LABELS ; label values HS090_F HS090_F_VALUE_LABELS ; label values HS100 HS100_VALUE_LABELS ; label values HS100_F HS100_F_VALUE_LABELS ; label values HS110 HS110_VALUE_LABELS ; label values HS110_F HS110_F_VALUE_LABELS ; label values HS120 HS120_VALUE_LABELS ; label values HS120_F HS120_F_VALUE_LABELS ; label values HS130_F HS130_F_VALUE_LABELS ; label values HS140 HS140_VALUE_LABELS ; label values HS140_F HS140_F_VALUE_LABELS ; label values HS150 HS150_VALUE_LABELS ; label values HS150_F HS150_F_VALUE_LABELS ; label values HS160 HS160_VALUE_LABELS ; label values HS160_F HS160_F_VALUE_LABELS ; label values HS170 HS170_VALUE_LABELS ; label values HS170_F HS170_F_VALUE_LABELS ; label values HS180 HS180_VALUE_LABELS ; label values HS180_F HS180_F_VALUE_LABELS ; label values HS190 HS190_VALUE_LABELS ; label values HS190_F HS190_F_VALUE_LABELS ; label values HS200 HS200_VALUE_LABELS ; label values HS200_F HS200_F_VALUE_LABELS ; label values HS210 HS210_VALUE_LABELS ; label values HS210_F HS210_F_VALUE_LABELS; label values HS220 HS220_VALUE_LABELS ; label values HS220_F HS220_F_VALUE_LABELS; label values HY010_F HY020_F HY022_F HY023_F HY010_F_VALUE_LABELS ; label values HY030G_F HY030G_F_VALUE_LABELS ; label values HY040G_F HY050G_F HY060G_F HY070G_F HY080G_F /// HY081G_F HY090G_F HY100G_F HY110G_F HY120G_F /// HY130G_F HY131G_F HY140G_F HY170G_F HY040G_F_VALUE_LABELS ; label values HY051G_F HY061G_F HY071G_F HY052G_F HY062G_F /// HY072G_F HY053G_F HY063G_F HY073G_F HY054G_F /// HY064G_F HY074G_F HY051G_F_VALUE_LABELS; label values HY030N_F HY030N_F_VALUE_LABELS ; label values HY040N_F HY050N_F HY060N_F HY070N_F HY080N_F /// HY081N_F HY090N_F HY100N_F HY110N_F HY120N_F /// HY130N_F HY131N_F HY145N_F HY170N_F HY040N_F_VALUE_LABELS ; label values HY140N_F HY140N_F_VALUE_LABELS ; label values HX040 HX040_VALUE_LABELS ; label values HX060 HX060_VALUE_LABELS ; label values HX070 HX070_VALUE_LABELS ; label values HX080 HX080_VALUE_LABELS ; label values HX120 HX120_VALUE_LABELS ; * Ad-hoc module on children's health care ; label values HC010T HC010T_VALUE_LABELS; label values HC010T_F HC010T_F_VALUE_LABELS; label values HC020T HC020T_VALUE_LABELS; label values HC020T_F HC020T_F_VALUE_LABELS; label values HC030T HC030T_VALUE_LABELS; label values HC030T_F HC030T_F_VALUE_LABELS; label values HC040T HC040T_VALUE_LABELS; label values HC040T_F HC040T_F_VALUE_LABELS; label values HC050T_F HC050T_F_VALUE_LABELS; label data "Household data file 2017" ; compress ; save "`stata_file'", replace ; log close ; set more on #delimit cr