* 2016_03-18_panel_eu_silc_pers_data_p.do * * STATA Command Syntax File * Stata 15.1; * * Transforms the EU-SILC CSV-data (as released by Eurostat) into a Stata systemfile * * EU-SILC - Panel 2016 Version March 2018 * Personal data file: * This version of the EU-SILC has been delivered in form of seperate country files. * The following do-file transformes the raw data into one single Stata file using all available country files. * Country files are delivered in the format UDB_l*country_stub*16P.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: * L-2015 DIFFERENCES BETWEEN DATA COLLECTED.doc * * (c) GESIS 2018-07-26 * GESIS - Leibniz Institute for the Social Sciences * German Microdata Lab * Valentina Ponomarenko * https://www.gesis.org/gml/european-microdata/eu-silc/ * * Contact: valentina.ponomarenko@gesis.org /* Initialization commands */ clear capture log close set more off version 15.1 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-2016) * 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 DK EE EL ES FI FR HR HU IT LU LV MT NL NO PL PT RO RS SE SI SK { ; cd "$csv_path/`CC'/2016" ; import delimited using "UDB_l`CC'16P.csv", case(preserve) clear ; append using `temp', force ; save `temp', replace ; } ; * Countries in data file are sorted in alphanumeric order ; sort PB020 ; log using "`log_file'", replace text ; * Note that some variables in the csv-data file might be in lowercase * To ensure that the dataset contains only variable names in uppercase ; foreach var of varlist _all { ; local newname = upper("`var'") ; cap rename `var' `newname' ; } ; * Definition of variable labels ; label variable PB010 "Year of the Survey" ; label variable PB020 "Country alphanumeric" ; label variable PB030 "Personal ID" ; label variable PB050 "Personal base weight" ; label variable PB050_F "Flag" ; label variable PB080 "Personal base weight for selected respondent" ; label variable PB080_F "Flag" ; label variable PB100 "Quarter of the personal interview" ; label variable PB100_F "Flag" ; label variable PB110 "Year of the personal interview" ; label variable PB110_F "Flag" ; label variable PB120 "Minutes to complete the personal questionnaire" ; label variable PB120_F "Flag" ; label variable PB130 "Quarter of birth" ; label variable PB130_F "Flag" ; label variable PB140 "Year of birth" ; label variable PB140_F "Flag" ; label variable PB150 "Sex" ; label variable PB150_F "Flag" ; label variable PB160 "Father ID" ; label variable PB160_F "Flag" ; label variable PB170 "Mother ID" ; label variable PB170_F "Flag" ; label variable PB180 "Spousepartner ID" ; label variable PB180_F "Flag" ; label variable PB190 "Marital status (MT: 3,5=3)" ; label variable PB190_F "Flag" ; label variable PB200 "Consensual union" ; label variable PB200_F "Flag" ; label variable PE040 "Highest ISCED level attained (Top coding at 5/500 for year <2014)" ; label variable PE040_F "Flag" ; label variable PL031 "Self-defined current economic status" ; label variable PL031_F "Flag" ; label variable PL020 "Actively looking for a job" ; label variable PL020_F "Flag" ; label variable PL025 "Available for work" ; label variable PL025_F "Flag" ; label variable PL040 "Status in employment" ; label variable PL040_F "Flag" ; label variable PL060 "Number of hours usually worked per week in main job" ; label variable PL060_F "Flag" ; label variable PL140 "Type of contract" ; label variable PL140_F "Flag" ; label variable PL160 "Change of job since last year" ; label variable PL160_F "Flag" ; label variable PL170 "Reason for change" ; label variable PL170_F "Flag" ; label variable PL180 "Most recent change in the individuals activity status" ; label variable PL180_F "Flag" ; label variable PL190 "When began regular first job" ; label variable PL190_F "Flag" ; label variable PL200 "Number of years spent in paid work" ; label variable PL200_F "Flag" ; label variable PL211A "Main activity on January"; label variable PL211A_F "Flag" ; label variable PL211B "Main activity on February"; label variable PL211B_F "Flag" ; label variable PL211C "Main activity on March"; label variable PL211C_F "Flag" ; label variable PL211D "Main activity on April"; label variable PL211D_F "Flag" ; label variable PL211E "Main activity on May"; label variable PL211E_F "Flag" ; label variable PL211F "Main activity on June"; label variable PL211F_F "Flag" ; label variable PL211G "Main activity on July"; label variable PL211G_F "Flag" ; label variable PL211H "Main activity on August"; label variable PL211H_F "Flag" ; label variable PL211I "Main activity on September"; label variable PL211I_F "Flag" ; label variable PL211J "Main activity on October"; label variable PL211J_F "Flag" ; label variable PL211K "Main activity on November"; label variable PL211K_F "Flag" ; label variable PL211L "Main activity on December"; label variable PL211L_F "Flag" ; label variable PH010 "General health" ; label variable PH010_F "Flag" ; label variable PH020 "Suffer from a chronic(long-standing) illness or condition" ; label variable PH020_F "Flag" ; label variable PH030 " Limitation in activities because of health problems" ; label variable PH030_F "Flag" ; label variable PY010N "Employee cash or near cash income(net)" ; label variable PY010N_F "Flag" ; label variable PY010N_I "Imputation factor" ; label variable PY020N "Non-Cash employee income(net)" ; label variable PY020N_F "Flag" ; label variable PY020N_I "Imputation Factor" ; label variable PY021N "Company car (in euros)" ; label variable PY021N_F "Flag" ; label variable PY035N "Contributions to individual private pension plans(net)" ; label variable PY035N_F "Flag" ; label variable PY035N_I "Imputation Factor" ; label variable PY050N " Cash benefits or losses from self-employment(net)" ; label variable PY050N_F "Flag" ; label variable PY050N_I "Imputation Factor" ; label variable PY080N "Pension from individual private plans(net)" ; label variable PY080N_F "Flag" ; label variable PY080N_I "Imputation factor" ; label variable PY090N "Unemployment benefits(net)" ; label variable PY090N_F "Flag" ; label variable PY090N_I "Imputation Factor" ; label variable PY100N "Old-age benefits(net)" ; label variable PY100N_F "Flag" ; label variable PY100N_I "Imputation Factor" ; label variable PY110N "Survivors Benefits (net)" ; label variable PY110N_F "Flag" ; label variable PY110N_I "Imputation Factor" ; label variable PY120N "Sickness Benefits(net)" ; label variable PY120N_F "Flag" ; label variable PY120N_I "Imputation Factor" ; label variable PY130N "Disability Benefits(net)" ; label variable PY130N_F "Flag" ; label variable PY130N_I "Imputation Factor" ; label variable PY140N "Education-related allowances" ; label variable PY140N_F "Flag" ; label variable PY140N_I "Imputation factor" ; label variable PY010G "Employee Cash or near cash income(gross)" ; label variable PY010G_F "Flag" ; label variable PY010G_I "Imputation Factor" ; label variable PY020G "Non-Cash employee income(gross)" ; label variable PY020G_F "Flag" ; label variable PY020G_I "Imputation Factor" ; label variable PY021G "Company car (in euros)" ; label variable PY021G_F "Flag" ; label variable PY030G "Employer's social insurance contribution" ; label variable PY030G_F "Flag" ; label variable PY030G_I "Imputation Factor" ; label variable PY031G "Optional employer's social insurance contributions" ; label variable PY031G_F "Flag" ; label variable PY031G_I "Imputation Factor" ; label variable PY035G "Contributions to individual private pension plans(gross)" ; label variable PY035G_F "Flag" ; label variable PY035G_I "Imputation Factor" ; label variable PY050G "Cash benefits or losses from self-employment (gross)" ; label variable PY050G_F "Flag" ; label variable PY050G_I "Imputation Factor" ; label variable PY080G "Pension from individual private plans(gross)" ; label variable PY080G_F "Flag" ; label variable PY080G_I "Imputation Factor" ; label variable PY090G "Unemployment benefits (gross)" ; label variable PY090G_F "Flag" ; label variable PY090G_I "Imputation Factor" ; label variable PY100G "Old-age benefits(gross)" ; label variable PY100G_F "Flag" ; label variable PY100G_I "Imputation Factor" ; label variable PY110G "Survivor benefit" ; label variable PY110G_F "Flag" ; label variable PY110G_I "Imputation Factor" ; label variable PY120G "Sickness Benefits(gross)" ; label variable PY120G_F "Flag" ; label variable PY120G_I "Imputation Factor" ; label variable PY130G "Disability benefits(gross)" ; label variable PY130G_F "Flag" ; label variable PY130G_I "Imputation Factor" ; label variable PY140G "Education-related allowances(gross)" ; label variable PY140G_F "Flag" ; label variable PY140G_I "Imputation factor" ; label variable PX030 "Household ID" ; label variable PX040 "Respondent status" ; label variable PY021N_I "Imputation Factor" ; label variable PY021G_I "Imputation Factor" ; label variable PX020 "Age at the end of the income reference period" ; label variable PX010 "Exchange rate" ; label variable PL051 "Occupation (ISCO-08 (COM))(MT grouped)" ; label variable PL051_F "Flag" ; label variable PY091G " Unemployment benefits (Contributory and means-tested) "; label variable PY101G " Old-age benefits (Contributory and means-tested) "; label variable PY111G " Survivor benefits (Contributory and means-tested) "; label variable PY121G " Sickness benefits (Contributory and means-tested) "; label variable PY131G " Disability benefits (Contributory and means-tested)"; label variable PY141G " Education-related allowances (Contributory and means-tested)"; label variable PY092G " Unemployment benefits (Contributory and non means-tested) "; label variable PY102G " Old-age benefits (Contributory and non means-tested) "; label variable PY112G " Survivor benefits (Contributory and non means-tested) "; label variable PY122G " Sickness benefits (Contributory and non means-tested) "; label variable PY132G " Disability benefits (Contributory and non means-tested) "; label variable PY142G " Education-related allowances (Contributory and non means-tested)"; label variable PY093G " Unemployment benefits (Non-Contributory and means-tested) "; label variable PY103G " Old-age benefits (Non-Contributory and means-tested) "; label variable PY113G " Survivor benefits (Non-Contributory and means-tested) "; label variable PY123G " Sickness benefits (Non-Contributory and means-tested) "; label variable PY133G " Disability benefits (Non-Contributory and means-tested) "; label variable PY143G " Education-related allowances (Non-Contributory and means-tested)"; label variable PY094G " Unemployment benefits (Non-contributory and non means-tested) "; label variable PY104G " Old-age benefits (Non-contributory and non means-tested) "; label variable PY114G " Survivor benefits (Non-contributory and non means-tested) "; label variable PY124G " Sickness benefits (Non-contributory and non means-tested) "; label variable PY134G " Disability benefits (Non-contributory and non means-tested) "; label variable PY144G " Education-related allowances (Non-contributory and non means-tested) Domain/Area"; label variable PY091G_F "Flag"; label variable PY101G_F "Flag"; label variable PY111G_F "Flag"; label variable PY121G_F "Flag"; label variable PY131G_F "Flag"; label variable PY141G_F "Flag"; label variable PY092G_F "Flag"; label variable PY102G_F "Flag"; label variable PY112G_F "Flag"; label variable PY122G_F "Flag"; label variable PY132G_F "Flag"; label variable PY142G_F "Flag"; label variable PY093G_F "Flag"; label variable PY103G_F "Flag"; label variable PY113G_F "Flag"; label variable PY123G_F "Flag"; label variable PY133G_F "Flag"; label variable PY143G_F "Flag"; label variable PY094G_F "Flag"; label variable PY104G_F "Flag"; label variable PY114G_F "Flag"; label variable PY124G_F "Flag"; label variable PY134G_F "Flag"; label variable PY144G_F "Flag"; * Definition of category labels ; label define PB050_F_VALUE_LABELS 1 "Filled" ; label define PB080_F_VALUE_LABELS 1 "Filled" -2 "not applicable (country does not use the selected respondent model)" -3 "not selected respondent (if country uses the selected respondent model)" ; label define PB100_VALUE_LABELS 1 "January,February,March" 2 "April, May, June" 3 "July, August, September" 4 "October, November, December" ; label define PB100_F_VALUE_LABELS 1 "filled" -1 "missing" ; label define PB110_F_VALUE_LABELS 1 "filled" -1 "missing" ; label define PB120_F_VALUE_LABELS 1 "filled" -1 "missing" -2 "na (information only extracted from registers)" ; label define PB130_VALUE_LABELS 1 "January,February,March" 2 "April,May,June" 3 "July,August,September" 4 "October,November,December" ; label define PB130_F_VALUE_LABELS 1 "filled" -1 "missing" ; label define PB140_VALUE_LABELS 1936 "1936 & before" ; label define PB140_F_VALUE_LABELS 1 "filled" -1 "missing" ; label define PB150_VALUE_LABELS 1 "male" 2 "female" ; label define PB150_F_VALUE_LABELS 1 "filled" -1 "missing" ; label define PB160_F_VALUE_LABELS 1 "filled" -1 "missing" -2 "na (father is not a household member)" ; label define PB170_F_VALUE_LABELS 1 "filled" -1 "missing" -2 "na (mother is not a household member)" ; label define PB180_F_VALUE_LABELS 1 "filled" -1 "missing" -2 "not applicable (person has no spousepartner or spousepartner is not a household member)" ; label define PB190_VALUE_LABELS 1 "never married" 2 "married" 3 "separated (MT: 3,5)" 4 "widowed" 5 "divorced" ; label define PB190_F_VALUE_LABELS 1 "filled" -1 "missing" ; label define PB200_VALUE_LABELS 1 "yes, on a legal basis" 2 "yes, without a legal basis" 3 "no" ; label define PB200_F_VALUE_LABELS 1 "filled" -1 "missing" ; label define PE040_VALUE_LABELS 0 "pre-primary education" 1 "primary education" 2 "lower secondary education" 3 "(upper) secondary education" 4 "post-secondary non-tertiary education" 5 "1st & 2nd stage of tertiary education " 6 "second stage of tertiary education (leading to an advanced research qualification)" 100 "Primary education " 200 "Lower secondary education (SI: Grouping 000,100,200 into 200) " 300 "Upper secondary education (not further specified)(IT: 300-354 grouped into 300)" 34 "General education" 340 "without distinction of direct access to tertiary education" 342 "partial level completion and without direct access to tertiary education" 343 "level completion, without direct access to tertiary education" 344 "level completion, with direct access to tertiary education" 35 "Vocational education" 350 "without distinction of direct access to tertiary education" 352 "partial level completion and without direct access to tertiary education" 353 "level completion, without direct access to tertiary education" 354 "level completion, with direct access to tertiary education" 400 "Post-secondary non-tertiary education (not further specified) (IT: 40,440,450 grouped into 400)" 440 "General education" 450 "Vocational education" 500 "Short cycle tertiary" 600 "Bachelor or equivalent " 700 "Master or equivalent" 800 "Doctorate or equivalent" ; label define PE040_F_VALUE_LABELS 1 "filled" -1 "missing" -2 "Not applicable ((PE040=000 AND PB010 > 2013) OR (PE040_F=-2 AND PB010 < 2014)))" ; label define PL031_VALUE_LABELS 1 "Employee working full-time" 2 "Employee working part-time" 3 "Self-employed working full-time (including family worker)" 4 "Self-employed working part-time (including family worker)" 5 "Unemployed" 6 "Pupil, student, further training, unpaid work experience" 7 "In retirement or in early retirement or has given up business" 8 "Permanently disabled or/and unfit to work" 9 "In compulsory military community or service" 10 "Fulfilling domestic tasks and care responsibilities" 11 "Other inactive person" ; label define PL031_F_VALUE_LABELS 1 "filled" -1 "missing" -5 "missing value of PL031 because PL030 is still used" ; label define PL020_VALUE_LABELS 1 "Yes" 2 "No" ; label define PL020_F_VALUE_LABELS 1 "filled" -1 "missing" -2 "na (PL031=1,2,3 or 4)" ; label define PL025_VALUE_LABELS 1 "Yes" 2 "No" ; label define PL025_F_VALUE_LABELS 1 "filled" -1 "missing" -2 "na (PL020=2)" ; label define PL040_VALUE_LABELS 1 "Self-employed with employees" 2 "self-employed without employees" 3 "employee" 4 "family worker" ; label define PL040_F_VALUE_LABELS 1 "filled" -1 "missing" -2 "na (PL031 not=1,2,3 or 4 and PL015 not=1)" ; label define PL060_F_VALUE_LABELS 1 "filled" -1 "missing" -2 "n.a. (PL031 not = 1, 2, 3 or 4)" -6 "Hours varying(even an average over 4 weeks is not possible)" ; label define PL140_VALUE_LABELS 1 "permanent job/work contract of unlimited duration" 2 "temporary job/work contract of limited duration" ; label define PL140_F_VALUE_LABELS 1 "filled" -1 "missing" -2 "n.a. PL040 not equal to 3)" -3 "not selected respondent" -4 "n.a. (person is employee (PL040 not=3) but has not any contract)" ; label define PL160_VALUE_LABELS 1 "yes" 2 "no" ; label define PL160_F_VALUE_LABELS 1 "filled" -1 "missing" -2 "na (PL031 not = 1, 2, 3 or 4)" -3 "not selected respondent" ; label define PL170_VALUE_LABELS 1 "To take up or seek better job" 2 "End of temporary contract" 3 "Obliged to stop by employer (business closure, redundancy, early retirement, dismissal etc." 4 "Sale or closure of ownfamily business" 5 "Child care and care for other dependant" 6 "Partners job required us to move to another area or marriage" 7 "Other reasons" ; label define PL170_F_VALUE_LABELS 1 "filled" -1 "missing" -2 "not applicable (PL160 not equal to 1)" -3 "not selected respondent" ; label define PL180_VALUE_LABELS 1 "employed-unemployed; MT:1-3=1" 2 "employed-retired; MT:4-6=2" 3 "employed-other inactive; MT:7-9=3" 4 "unemployed-employed; MT:10-12=4" 5 "unemployed - retired" 6 "unemployed - other inactive" 7 "retired - employed" 8 "retired - unemployed" 9 "retired - other inactive" 10 "other inactive - employed" 11 "other inactive - unemployed" 12 "other inactive - retired" ; label define PL180_F_VALUE_LABELS 1 "filled" -1 "missing" -2 "na (no change since last year)" -3 "not selected respondent" ; label define PL190_F_VALUE_LABELS 1 "filled" -1 "missing" -2 "n.a. (person never worked( PL031 not = 1, 2, 3 or 4 AND PL015 not= 1))" -3 "not selected respondent" ; label define PL200_VALUE_LABELS 65 "65; PT: Top coding" ; label define PL200_F_VALUE_LABELS 1 "filled" -1 "missing" -2 "na (person never worked (PL031 not = 1, 2, 3 or 4 AND PL015 not= 1))" -3 "not selected respondent" ; label define PL211A_VALUE_LABELS 1 "Employee working full-time" 2 "Employee working part-time" 3 "Self-employed working full-time (including family worker)" 4 "Self-employed working part-time (including family worker)" 5 "Unemployed" 6 "Pupil, student, further training, unpaid work experience" 7 "In retirement or in early retirement or has given up business" 8 "Permanently disabled or;and unfit to work" 9 "In compulsory military community or service" 10 "Fulfilling domestic tasks and care responsibilities" 11 "Other inactive person" ; label define PL211A_F_VALUE_LABELS 1 "filled" -1 "missing" -3 "not selected respondent" -5 "missing value of PL211 because PL210 is still used" ; label define PH010_VALUE_LABELS 1 "very good" 2 "good" 3 "fair" 4 "bad" 5 "very bad" ; label define PH010_F_VALUE_LABELS 1 "Filled" -1 "missing" -3 "not selected respondent" ; label define PH020_VALUE_LABELS 1 "yes" 2 "no" 8 "do not know (Germany only)" ; label define PH020_F_VALUE_LABELS 1 "Filled" -1 "missing" -3 "not selected respondent" ; label define PH030_VALUE_LABELS 1 "yes, strongly limited" 2 "yes, limited" 3 "no, not limited" 8 "do not know (Germany only)" ; label define PH030_F_VALUE_LABELS 1 "Filled" -1 "missing" -3 "not selected respondent" ; label define PY010N_F_VALUE_LABELS 0 "no income" 11 "collec. & recorded net of tax on income at source & social contrib." 22 "collec. & recorded net of tax on income at source" 31 "collected net of tax on social contrib.recorded net of tax on income & social contrib." 33 "collected & recorded net of tax on social contrib." 41 "collected gross/recorded net of tax on income & social contrib." 42 "collected gross/recorded net of tax on income at source" 43 "collected gross/recorded net of tax on social contrib." 51 "collected unknown/recorded net of tax on income & social contrib." 53 "collected unknown/recorded net of tax on social contrib." 55 "Type of collection & recording: unknown" 56 "collected unknown/recorded net of tax mix" 61 "mix/deductive imputation" -1 "missing" -5 "not filled: variable of gross series is filled" ; label define PY020N_F_VALUE_LABELS 0 "no income" 11 "collec. & recorded net of tax on income at source & social contrib." 22 "collec. & recorded net of tax on income at source" 31 "collected net of tax on social contrib.recorded net of tax on income & social contrib." 33 "collected & recorded net of tax on social contrib." 41 "collected gross/recorded net of tax on income & social contrib." 42 "collected gross/recorded net of tax on income at source" 51 "collected unknown/recorded net of tax on income & social contrib." 53 "collected unknown/recorded net of tax on social contrib." 55 "Type of collection & recording: unknown" 56 "collected unknown/recorded net of tax mix" 61 "mix/deductive imputation" -1 "missing" -4 "amount included in another component" -5 "not filled: variable of gross series is filled" ; label define PY021N_VALUE_LABELS 0 "no income" ; label define PY021N_F_VALUE_LABELS 0 "no income" 11 "collec. & recorded net of tax on income at source & social contrib." 22 "collec. & recorded net of tax on income at source" 31 "collected net of tax on social contrib.recorded net of tax on income & social contrib." 33 "collected & recorded net of tax on social contrib." 41 "collected gross/recorded net of tax on income & social contrib." 42 "collected gross/recorded net of tax on income at source" 51 "collected unknown/recorded net of tax on income & social contrib." 53 "collected unknown/recorded net of tax on social contrib." 55 "Type of collection & recording: unknown" 61 "mix/deductive imputation" -1 "missing" -4 "amount included in another component" -5 "not filled: variable of gross series is filled" ; label define PY035N_F_VALUE_LABELS 0 "no contribution" 1 "variable is filled" -1 "missing" -5 "not filled: variable of the gross series is filled" ; label define PY050N_VALUE_LABELS 0 "no income" ; label define PY050N_F_VALUE_LABELS 0 "no income" 11 "collec. & recorded net of tax on income at source & social contrib." 21 "collec. net of tax and income at source & recorded net of tax at source and soc contrib." 22 "collec. & recorded net of tax on income at source" 23 "collec. net of tax on income at source .recorded net of tax on social contrib." 31 "collected net of tax on social contrib.recorded net of tax on income & social contrib." 33 "collected & recorded net of tax on social contrib." 41 "collected gross/recorded net of tax on income & social contrib." 42 "collected gross/recorded net of tax on income at source" 43 "collected gross/recorded net of tax on social contrib." 51 "collected unknown/recorded net of tax on income & social contrib." 52 "collected unknown/recorded net of tax on income" 53 "collected unknown/recorded net of tax on social contrib." 55 "Type of collection & recording: unknown" 56 "collected unknown/recorded net of tax mix" 61 "mix/deductive imputation" -1 "missing" -4 "amount included in another component" -5 "not filled: variable of gross series is filled" ; label define PY080N_F_VALUE_LABELS 0 "no income" 11 "collec. & recorded net of tax on income at source & social contrib." 22 "collec. & recorded net of tax on income at source" 23 "collec. net of tax on income at source .recorded net of tax on social contrib." 31 "collected net of tax on social contrib.recorded net of tax on income & social contrib." 33 "collected & recorded net of tax on social contrib." 41 "collected gross/recorded net of tax on income & social contrib." 42 "collected gross/recorded net of tax on income at source" 43 "collected gross/recorded net of tax on social contrib." 51 "collected unknown/recorded net of tax on income & social contrib." 52 "collected unknown/recorded net of tax on income" 53 "collected unknown/recorded net of tax on social contrib." 55 "Type of collection & recording: unknown" 56 "collected unknown/recorded net of tax mix" 61 "mix/deductive imputation" -1 "missing" -4 "amount included in another component" -5 "not filled: variable of gross series is filled" ; label define PY090N_F_VALUE_LABELS 0 "no income" 11 "collec. & recorded net of tax on income at source & social contrib." 12 "coll. net of tax on income at source & soc. contrib./recorded net of tax on income at source" 22 "collec. & recorded net of tax on income at source" 31 "collected net of tax on social contrib.recorded net of tax on income & social contrib." 33 "collected & recorded net of tax on social contrib." 41 "collected gross/recorded net of tax on income & social contrib." 42 "collected gross/recorded net of tax on income at source" 43 "collected gross/recorded net of tax on social contrib." 51 "collected unknown/recorded net of tax on income & social contrib." 52 "collected unknown/recorded net of tax on income" 53 "collected unknown/recorded net of tax on social contrib." 55 "Type of collection & recording: unknown" 56 "collected unknown/recorded net of tax mix" 61 "mix/deductive imputation" -1 "missing" -4 "amount included in another component" -5 "not filled: variable of gross series is filled" ; label define PY100N_F_VALUE_LABELS 0 "no income" 11 "collec. & recorded net of tax on income at source & social contrib." 21 "collec. net of tax and income at source & recorded net of tax at source and soc contrib." 22 "collec. & recorded net of tax on income at source" 31 "collected net of tax on social contrib.recorded net of tax on income & social contrib." 33 "collected & recorded net of tax on social contrib." 41 "collected grossrecorded net of tax on income & social contrib." 42 "collected grossrecorded net of tax on income at source" 51 "collected unknownrecorded net of tax on income & social contrib." 52 "collected unknownrecorded net of tax on income" 53 "collected unknownrecorded net of tax on social contrib." 55 "Type of collection & recording: unknown" 56 "collected unknown/recorded net of tax mix" 61 "mix/deductive imputation" -1 "missing" -4 "amount included in another component" -5 "not filled: variable of gross series is filled" ; label define PY110N_F_VALUE_LABELS 0 "no income" 11 "collec. & recorded net of tax on income at source & social contrib." 21 "collec. net of tax and income at source & recorded net of tax at source and soc contrib." 22 "collec. & recorded net of tax on income at source" 31 "collected net of tax on social contrib.recorded net of tax on income & social contrib." 33 "collected & recorded net of tax on social contrib." 41 "collected gross/recorded net of tax on income & social contrib." 42 "collected gross/recorded net of tax on income at source" 51 "collected unknown/recorded net of tax on income & social contrib." 52 "collected unknown/recorded net of tax on income" 53 "collected unknown/recorded net of tax on social contrib." 55 "Type of collection & recording: unknown" 56 "collected unknown/recorded net of tax mix" 61 "mix/deductive imputation" -1 "missing" -4 "amount included in another component" -5 "not filled: variable of gross series is filled" ; label define PY120N_F_VALUE_LABELS 0 "no income" 11 "collec. & recorded net of tax on income at source & social contrib." 22 "collec. & recorded net of tax on income at source" 23 "collec. net of tax on income at source .recorded net of tax on social contrib." 31 "collected net of tax on social contrib.recorded net of tax on income & social contrib." 33 "collected & recorded net of tax on social contrib." 41 "collected gross/recorded net of tax on income & social contrib." 42 "collected gross/recorded net of tax on income at source" 43 "collected gross/recorded net of tax on social contrib." 51 "collected unknown/recorded net of tax on income & social contrib." 52 "collected unknown/recorded net of tax on income" 53 "collected unknown/recorded net of tax on social contrib." 55 "Type of collection & recording: unknown" 56 "collected unknown/recorded net of tax mix" 61 "mix/deductive imputation" -1 "missing" -4 "amount included in another component" -5 "not filled: variable of gross series is filled" ; label define PY130N_F_VALUE_LABELS 0 "no income" 11 "collec. & recorded net of tax on income at source & social contrib." 21 "collec. net of tax and income at source & recorded net of tax at source and soc contrib." 22 "collec. & recorded net of tax on income at source" 31 "collected net of tax on social contrib.recorded net of tax on income & social contrib." 33 "collected & recorded net of tax on social contrib." 41 "collected gross/recorded net of tax on income & social contrib." 42 "collected gross/recorded net of tax on income at source" 51 "collected unknown/recorded net of tax on income & social contrib." 52 "collected unknown/recorded net of tax on income" 53 "collected unknown/recorded net of tax on social contrib." 55 "Type of collection & recording: unknown" 56 "collected unknown/recorded net of tax mix" 61 "mix/deductive imputation" -1 "missing" -4 "amount included in another component" -5 "not filled: variable of gross series is filled" ; label define PY140N_F_VALUE_LABELS 0 "no income" 11 "collec. & recorded net of tax on income at source & social contrib." 22 "collec. & recorded net of tax on income at source" 31 "collected net of tax on social contrib.recorded net of tax on income & social contrib." 33 "collected & recorded net of tax on social contrib." 41 "collected gross/recorded net of tax on income & social contrib." 42 "collected gross/recorded net of tax on income at source" 51 "collected unknown/recorded net of tax on income & social contrib." 52 "collected unknown/recorded net of tax on income" 53 "collected unknown/recorded net of tax on social contrib." 55 "Type of collection & recording: unknown" 56 "collected unknown/recorded net of tax mix" 61 "mix/deductive imputation" -1 "missing" -4 "amount included in another component" -5 "not filled: variable of gross series is filled" ; label define PY010G_F_VALUE_LABELS 0 "no income" 1 "net of tax on income at source and social contribution" 2 "net of tax on income at source and social contribution" 3 "net of tax on social contribution" 4 "gross" 5 "unknown" 6 "mix (parts of the component collected according to different ways)" -1 "missing" -5 "not filled:variable of net series is filled" ; label define PY020G_F_VALUE_LABELS 0 "no income" 1 "net of tax on income at source and social contribution" 2 "net of tax on income at source and social contribution" 3 "net of tax on social contribution" 4 "gross" 5 "unknown" 6 "mix (parts of the component collected according to different ways)" -1 "missing" -4 "amount included in another component" -5 "not filled:variable of net series is filled" ; label define PY021G_VALUE_LABELS 0 "no income" ; label define PY021G_F_VALUE_LABELS -5 "not filled: variable of net series is filled" -4 "amount included in another component" -1 "missing" 0 "no income" 1 "collected net of tax on income at source and social contribution+nc" 2 "collected net of tax on income at source+nc" 3 "collected net of tax on social contributions+nc" 4 "collected gross" 5 "unknown" 6 "mix (parts of the component collected according to different ways)" ; label define PY030G_F_VALUE_LABELS 0 "no income" 1 "income (variable is filled)" -1 "missing" -5 "not filled: variable of net series is filled" ; label define PY031G_F_VALUE_LABELS 0 "no income" 1 "income (variable is filled)" -1 "missing" -5 "not filled: variable of net series is filled" ; label define PY035G_F_VALUE_LABELS 0 "no contribution" 1 "variable is filled" -1 "missing" -5 "not filled: variable of net series is filled" ; label define PY050G_F_VALUE_LABELS 0 "no income" 1 "collected net of tax on income at source and social contribution+nc" 2 "collected net of tax on income at source+nc" 3 "collected net of tax on social contributions+nc" 4 "collected gross" 5 "unknown" 6 "mix (parts of the component collected according to different ways)" -1 "missing" -5 "not filled:variable of net series is filled" ; label define PY080G_F_VALUE_LABELS 0 "no income" 1 "collected net of tax on income at source and social contribution+nc" 2 "collected net of tax on income at source+nc" 3 "collected net of tax on social contributions+nc" 4 "collected gross" 5 "unknown" 6 "mix (parts of the component collected according to different ways)" -1 "missing" -5 "not filled:variable of net series is filled" ; label define PY090G_F_VALUE_LABELS 0 "no income" 1 "collected net of tax on income at source and social contribution+nc" 2 "collected net of tax on income at source+nc" 3 "collected net of tax on social contributions+nc" 4 "collected gross" 5 "unknown" 6 "mix (parts of the component collected according to different ways)" -1 "missing" -5 "not filled:variable of net series is filled" ; label define PY100G_F_VALUE_LABELS 0 "no income" 1 "collected net of tax on income at source and social contribution+nc" 2 "collected net of tax on income at source+nc" 3 "collected net of tax on social contributions+nc" 4 "collected gross" 5 "unknown" 6 "mix (parts of the component collected according to different ways)" -1 "missing" -4 "amount included in another component" -5 "not filled:variable of net series is filled" ; label define PY110G_F_VALUE_LABELS 0 "no income" 1 "collected net of tax on income at source and social contribution+nc" 2 "collected net of tax on income at source+nc" 3 "collected net of tax on social contributions+nc" 4 "collected gross" 5 "unknown" 6 "mix (parts of the component collected according to different ways)" -1 "missing" -4 "amount included in another component" -5 "not filled:variable of net series is filled" ; label define PY120G_F_VALUE_LABELS 0 "no income" 1 "collected net of tax on income at source and social contribution+nc" 2 "collected net of tax on income at source+nc" 3 "collected net of tax on social contributions+nc" 4 "collected gross" 5 "unknown" 6 "mix (parts of the component collected according to different ways)" -1 "missing" -4 "amount included in another component" -5 "not filled:variable of net series is filled" ; label define PY130G_F_VALUE_LABELS 0 "no income" 1 "collected net of tax on income at source and social contribution+nc" 2 "collected net of tax on income at source+nc" 3 "collected net of tax on social contributions+nc" 4 "collected gross" 5 "unknown" 6 "mix (parts of the component collected according to different ways)" -1 "missing" -4 "amount included in another component" -5 "not filled:variable of net series is filled" ; label define PY140G_F_VALUE_LABELS 0 "no income" 1 "collected net of tax on income at source and social contribution+nc" 2 "collected net of tax on income at source+nc" 3 "collected net of tax on social contributions+nc" 4 "collected gross" 5 "unknown" 6 "mix (parts of the component collected according to different ways)" -1 "missing" -5 "not filled:variable of net series is filled" ; label define PX020_VALUE_LABELS 80 "80 and over" ; label define PX040_VALUE_LABELS 1 "current household member aged >=16 (All hhld members aged >=16 are interviewed)" 2 "selected respondent(Only selected hhld member aged >= 16 is interviewed)" 3 "not selected respondent (Only selected hhld member aged >= 16 is interviewed)" 4 "not eligible person (Hhld members aged < 16 at the time of interview)" ; label define PL051_F_VALUE_LABELS 1 "filled" -1 "missing" -2 "n.a. (PL031 not=1,2,3 or 4 and PL015 not=1)" ; label define PL051_VALUE_LABELS 1 "Commissioned armed forces officers. MT:11-14 Legislators,senior officials & managers" 2 "Non-commissioned armed forces officers. MT:21-26 Professionals" 3 "Armed forces occupations, other ranks. MT:31-35 Technicians & associate professionals" 4 "MT: 41-44 Clerks" 5 "MT: 51-54 Service workers and shop and market sales workers" 6 "MT: 61-63 Skilled agricultural and fishery workers" 7 "MT: 71-75 Craft and related trades workers" 8 "MT: 81-83 Plant and machine operators and assemblers" 9 "MT: 91-96 Elementary occupations" 10 "MT:01 Armed forces" 11 "Chief executives, senior officials and legislators" 12 "Administrative and commercial managers" 13 "Production and specialised services managers" 14 "Hospitality, retail and other services managers" 21 "Science and engineering professionals" 22 "Health professionals" 23 "Teaching professionals" 24 "Business and administration professionals" 25 "Information and communications technology professionals" 26 "Legal, social and cultural professionals" 31 "Science and engineering associate professionals" 32 "Health associate professionals" 33 "Business and administration associate professionals" 34 "Legal, social, cultural and related associate professionals" 35 "Information and communications technicians" 41 "General and keyboard clerks" 42 "Customer services clerks" 43 "Numerical and material recording clerks" 44 "Other clerical support workers" 51 "Personal service workers" 52 "Sales workers" 53 "Personal care workers" 54 "Protective services workers" 61 "Market-oriented skilled agricultural workers" 62 "Market-oriented skilled forestry, fishery and hunting workers" 63 "Subsistence farmers, fishers, hunters and gatherers" 71 "Building and related trades workers, excluding electricians" 72 "Metal, machinery and related trades workers" 73 "Handicraft and printing workers" 74 "Electrical and electronic trades workers" 75 "Food processing, wood working, garment and other craft and related trades workers" 81 "Stationary plant and machine operators" 82 "Assemblers" 83 "Drivers and mobile plant operators" 91 "Cleaners and helpers" 92 "Agricultural, forestry and fishery labourers" 93 "Labourers in mining, construction, manufacturing and transport" 94 "Food preparation assistants" 95 "Street and related sales and service workers" 96 "Refuse workers and other elementary workers" ; label define PY091G_VALUE_LABELS 0 "No income" ; label define PY091G_F_VALUE_LABELS 2 "filled with mixed components" 1 "filled with only contributory and means-tested components" 0 "No income" -1 "missing" -2 "N/A This scheme doesn't exist at national level" -7 "N/A PB010 < 2014" ; * Attachement of category labels to variables ; label values PB050_F PB050_F_VALUE_LABELS ; label values PB080_F PB080_F_VALUE_LABELS ; label values PB100 PB100_VALUE_LABELS ; label values PB100_F PB100_F_VALUE_LABELS ; label values PB110_F PB110_F_VALUE_LABELS ; label values PB120_F PB120_F_VALUE_LABELS ; label values PB130 PB130_VALUE_LABELS ; label values PB130_F PB130_F_VALUE_LABELS ; label values PB140 PB140_VALUE_LABELS ; label values PB140_F PB140_F_VALUE_LABELS ; label values PB150 PB150_VALUE_LABELS ; label values PB150_F PB150_F_VALUE_LABELS ; label values PB160_F PB160_F_VALUE_LABELS ; label values PB170_F PB170_F_VALUE_LABELS ; label values PB180_F PB180_F_VALUE_LABELS ; label values PB190 PB190_VALUE_LABELS ; label values PB190_F PB190_F_VALUE_LABELS ; label values PB200 PB200_VALUE_LABELS ; label values PB200_F PB200_F_VALUE_LABELS ; label values PE040 PE040_VALUE_LABELS ; label values PE040_F PE040_F_VALUE_LABELS ; label values PL031 PL031_VALUE_LABELS ; label values PL031_F PL031_F_VALUE_LABELS ; label values PL020 PL020_VALUE_LABELS ; label values PL020_F PL020_F_VALUE_LABELS ; label values PL025 PL025_VALUE_LABELS ; label values PL025_F PL025_F_VALUE_LABELS ; label values PL040 PL040_VALUE_LABELS ; label values PL040_F PL040_F_VALUE_LABELS ; label values PL060_F PL060_F_VALUE_LABELS ; label values PL140 PL140_VALUE_LABELS ; label values PL140_F PL140_F_VALUE_LABELS ; label values PL160 PL160_VALUE_LABELS ; label values PL160_F PL160_F_VALUE_LABELS ; label values PL170 PL170_VALUE_LABELS ; label values PL170_F PL170_F_VALUE_LABELS ; label values PL180 PL180_VALUE_LABELS ; label values PL180_F PL180_F_VALUE_LABELS ; label values PL190_F PL190_F_VALUE_LABELS ; label values PL200_F PL200_F_VALUE_LABELS ; label values PL211A PL211B PL211C PL211D PL211E PL211F PL211G PL211H PL211I PL211J PL211K PL211L PL211A_VALUE_LABELS ; label values PL211A_F PL211B_F PL211C_F PL211D_F PL211E_F PL211F_F PL211G_F PL211H_F PL211I_F PL211J_F PL211K_F PL211L_F PL211A_F_VALUE_LABELS ; label values PH010 PH010_VALUE_LABELS ; label values PH010_F PH010_F_VALUE_LABELS ; label values PH020 PH020_VALUE_LABELS ; label values PH020_F PH020_F_VALUE_LABELS ; label values PH030 PH030_VALUE_LABELS ; label values PH030_F PH030_F_VALUE_LABELS ; label values PY010N_F PY010N_F_VALUE_LABELS ; label values PY020N_F PY020N_F_VALUE_LABELS ; label values PY021N PY021N_VALUE_LABELS ; label values PY021N_F PY021N_F_VALUE_LABELS ; label values PY035N_F PY035N_F_VALUE_LABELS ; label values PY050N PY050N_VALUE_LABELS ; label values PY050N_F PY050N_F_VALUE_LABELS ; label values PY080N_F PY080N_F_VALUE_LABELS ; label values PY090N_F PY090N_F_VALUE_LABELS ; label values PY100N_F PY100N_F_VALUE_LABELS ; label values PY110N_F PY110N_F_VALUE_LABELS ; label values PY120N_F PY120N_F_VALUE_LABELS ; label values PY130N_F PY130N_F_VALUE_LABELS ; label values PY140N_F PY140N_F_VALUE_LABELS ; label values PY010G_F PY010G_F_VALUE_LABELS ; label values PY020G_F PY020G_F_VALUE_LABELS ; label values PY021G PY021G_VALUE_LABELS ; label values PY021G_F PY021G_F_VALUE_LABELS ; label values PY030G_F PY030G_F_VALUE_LABELS; label values PY031G_F PY031G_F_VALUE_LABELS; label values PY035G_F PY035G_F_VALUE_LABELS ; label values PY050G_F PY050G_F_VALUE_LABELS ; label values PY080G_F PY080G_F_VALUE_LABELS ; label values PY090G_F PY090G_F_VALUE_LABELS ; label values PY100G_F PY100G_F_VALUE_LABELS ; label values PY110G_F PY110G_F_VALUE_LABELS ; label values PY120G_F PY120G_F_VALUE_LABELS ; label values PY130G_F PY130G_F_VALUE_LABELS ; label values PY140G_F PY140G_F_VALUE_LABELS ; label values PX020 PX020_VALUE_LABELS ; label values PX040 PX040_VALUE_LABELS ; label values PL051_F PL051_F_VALUE_LABELS ; label values PL140 PL140_VALUE_LABELS ; label values PL051 PL051_VALUE_LABELS ; label values PY091G PY101G PY111G PY121G PY131G PY141G PY092G /// PY102G PY112G PY122G PY132G PY142G PY093G PY103G PY113G /// PY123G PY133G PY143G PY094G PY104G PY114G PY124G PY134G /// PY144G PY091G_VALUE_LABELS; label values PY091G_F PY101G_F PY111G_F PY121G_F PY131G_F PY141G_F PY092G_F /// PY102G_F PY112G_F PY122G_F PY132G_F PY142G_F PY093G_F PY103G_F PY113G_F /// PY123G_F PY133G_F PY143G_F PY094G_F PY104G_F PY114G_F PY124G_F PY134G_F /// PY144G_F PY091G_F_VALUE_LABELS ; compress ; save "`stata_file'", replace ; log close ; set more on #delimit cr