****************************************************************************************. * SPSS Command Syntax File * PASW Statistics 22 * Release 22.0.0.1 * * Transforms the EU-SILC CSV-data (as released by Eurostat) into an SPSS-Systemfile * * EU-SILC - Panel 2012-2 * Personal Register file: * UDB_l12R_ver 2012-2 from 01-03-2015.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-2012 DIFFERENCES BETWEEN DATA COLLECTED AND UDB.doc * * (c) GESIS 02-07-2015 * GESIS - Leibniz Institute for the Social Sciences * German Microdata Lab * Heike Wirth; Anika Herter * * http://www.gesis.org/en/institute/ * http://www.gesis.org/en/services/data-analysis/official-microdata/european-microdata/eu-silc/eu-silc-tools/ * * Contact: heike.wirth@gesis.org ***************************************************************************************. set decimal dot. * When using SPSS earlier than V16 you might not use "set unicode" . set unicode no. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . * The following command should contain the complete path and name of the raw data file; Change CSV_FILENAME to your filename . file handle csv_data / name ="CSV_FILENAME" . * The following command should contain the complete path and name of the SPSS file, usual file extension "sav"; Change SPSS_FILENAME to your filename . file handle spss_reference / name ="SPSS_FILENAME" . * There should be probably nothing to change below this line . * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . GET DATA /TYPE=TXT /FILE=csv_data /ENCODING='Locale' /DELCASE=LINE /DELIMITERS="," /ARRANGEMENT=DELIMITED /FIRSTCASE=2 /IMPORTCASE=ALL /VARIABLES= RB010 F4.0 RB020 A2 RB030 F9.0 RB040 F7.0 RB060 comma8.0 RB060_F F1.0 RB062 comma8.0 RB062_F F2.0 RB063 comma8.0 RB063_F F2.0 RB064 comma8.0 RB064_F F2.0 RB070 F1.0 RB070_F F1.0 RB080 F4.0 RB080_F F1.0 RB090 F1.0 RB090_F F1.0 RB100 F1.0 RB100_F F1.0 RB110 F1.0 RB110_F F1.0 RB120 F1.0 RB120_F F2.0 RB140 F1.0 RB140_F F2.0 RB150 F1.0 RB150_F F2.0 RB160 F1.0 RB160_F F2.0 RB170 F1.0 RB170_F F2.0 RB180 F1.0 RB180_F F2.0 RB190 F1.0 RB190_F F2.0 RB200 F1.0 RB200_F F1.0 RB210 F1.0 RB210_F F1.0 RB220 F9.0 RB220_F F2.0 RB230 F9.0 RB230_F F2.0 RB240 F9.0 RB240_F F2.0 RB245 F1.0 RB245_F F1.0 RB250 F2.0 RB250_F F2.0 RB260 F1.0 RB260_F F2.0 RB270 F9.0 RB270_F F2.0 RX010 F2.0 RX020 F2.0. variable labels RB010 'Year of the survey' /RB020 'Country' /RB030 'Personal ID' /RB040 'Current Household ID' /RB060 'Personal base weight' /RB060_F 'Flag' /RB062 'Longitudinal weight(two-year duration)' /RB062_F 'Flag' /RB063 'Longitudinal weight (three-year duration)' /RB063_F 'Flag' /RB064 'Longitudinal weight (four-year duration)' /RB064_F 'Flag' /RB070 'Quarter of Birth' /RB070_f 'Flag' /RB080 'Year of birth' /RB080_f 'Flag' /RB090 'Sex' /RB090_f 'Flag' /RB100 'Sample person or co-resident' /RB100_F 'Flag' /RB110 'Membership status' /RB110_f 'Flag' /RB120 'Moved to' /RB120_F 'Flag' /RB140 'Quarter moved out and died (BE:coded in months; NL:info not provided)' /RB140_f 'Flag' /RB150 'Year moved out and died' /RB150_F 'Flag' /RB160 'Number of months in household during the income reference period' /RB160_F 'Flag' /RB170 'Main activity status during the income reference period' /RB170_F 'Flag' /RB180 'Quarter moved in (BE:coded in months; NL:info not provided)' /RB180_F 'Flag' /RB190 'Year moved in' /RB190_F 'Flag' /RB200 'Residential Status' /RB200_f 'Flag' /RB210 'Basic activity status' /RB210_f 'Flag' /RB220 'Father ID' /RB220_f 'Flag' /RB230 'Mother ID' /RB230_f 'Flag' /RB240 'Spouse/Partner ID' /RB240_f 'Flag' /RB245 'Respondent status' /RB245_f 'Flag' /RB250 'Data status' /RB250_f 'Flag' /RB260 'Type of interview' /RB260_f 'Flag' /RB270 'Personal ID of proxy' /RB270_f 'Flag' /RX020 'Age at the end of the income reference period' /RX010 'Age at the date of the interview'. value labels RB020 'BE' "Belgique" 'BG' "Bulgaria" 'CZ' "Czech Republic" 'DK' "Danmark" 'DE' "Deutschland" 'EE' "Estonia" 'IE' "Ireland" 'EL' "Ellada" 'ES' "Espana" 'FR' "France" 'IT' "Italia" 'CY' "Cyprus" 'LV' "Latvia" 'LT' "Lithuania" 'LU' "Luxembourg" 'HU' "Hungary" 'MT' "Malta" 'NL' "Nederland" 'AT' "Oesterreich" 'PL' "Poland" 'PT' "Portugal" 'RO' "Romania" 'SI' "Slovenia" 'SK' "Slovak Republic" 'FI' "Suomi" 'SE' "Sverige" 'UK' "United Kingdom" 'CH' "Switzerland" 'HR' "Croatia" 'IS' "Iceland" 'NO' "Norway" 'TR' "Turkey"/ RB060_F 1 'filled'/ RB062_F 1 'filled' -1 'missing' -2 'not applicable (no two year trajectory for the individual i.e. individual in 1st wave)'/ RB063_F 1 'filled' -1 'missing' -2 'not applicable (no 3-year trajectory for the individual i.e. individual in 1st or 2nd wave)'/ RB064_F 1 'filled' -1 'missing' -2 'not applicable (no 4-year trajectory for the individual i.e. individual in 1st,2nd or 3rd wave)'/ RB070 1 'January, February, March' 2 'April, May, June' 3 'July, August, September' 4 'October, November, December'/ RB070_F 1 'filled' -1 'missing'/ RB080 1931 '1931 or before'/ RB080_F 1 'filled' -1 'missing'/ Rb090 1 'Male' 2 'Female'/ RB090_F 1 'filled' -1 'missing'/ RB100 1 'sample person' 2 'co-resident'/ RB100_F 1 'filled' -1 'missing'/ RB110 1 'was in hh in previous waves or current hh member' 2 'moved into hh from another sample hh since previous wave' 3 'moved into hh from outside sample since previous wave' 4 'newly born hh since last wave' 5 'moved out since previous wave if not contacted in previous wave)' 6 'died' 7 'lived in hh at least 3 months during the income ref. period, not recorded in the register of this hh'/ RB110_f 1 'filled' -1 'missing'/ RB120 1 'to a private household in the country' 2 'to a collective household or institution in the country' 3 'abroad' 4 'lost'/ RB120_F 1 'filled' -2 'na (RB110 not=5)'/ RB140 1 '1st quarter. BE:January' 2 '2nd quarter. BE:February' 3 '3rd quarter. BE:March' 4 '4th quarter. BE:April' 5 'BE:May' 6 'BE:June' 7 'BE:July' 8 'BE:August' 9 'BE:September' 10 'BE:October' 11 'BE:November' 12 'BE:December'/ RB140_F 1 'filled' -1 'missing' -2 'na(RB110 not=5 or 6)'/ RB150_F 1 'filled' -1 'missing' -2 'na (RB110 not =5 or 6)'/ RB160_F 1 'filled' -1 'missing' -2 'na (RB110 not = 5 or 6 or 7)'/ RB170 1 'at work' 2 'unemployed' 3 'in retirement or early retirement' 4 'other inactive person'/ RB170_f 1 'filled' -1 'missing' -2 'na (RB110 not = 5 or 6 or 7)'/ RB180 1 '1st quarter. BE:January' 2 '2nd quarter. BE:February' 3 '3rd quarter. BE:March' 4 '4th quarter. BE:April' 5 'BE:May' 6 'BE:June' 7 'BE:July' 8 'BE:August' 9 'BE:September' 10 'BE:October' 11 'BE:November' 12 'BE:December'/ RB180_f 1 'filled' -1 'missing' -2 'na (RB110 not = 3)'/ RB190_F 1 'filled' -1 'missing' -2 'na (RB110 not = 3)'/ RB200 1 'currently living in the household' 2 'temporarily absent'/ RB200_F 1 'filled' -1 'missing' -2 'not applicable (RB110 not = 1, 2, 3 or 4)'/ RB210 1 'at work' 2 'unemployed' 3 'in retirement or early retirement' 4 'other inactive person'/ RB210_F 1 'filled' -1 'missing' -2 'not applicable (RB110 not = 1, 2, 3 or 4)'/ RB220_F 1 'filled' -1 'missing' -2 'not applicable (father is not a household member) or (RB110 not = 1, 2, 3 or 4)'/ RB230_F 1 'filled' -1 'missing' -2 'not applicable (mother is not a household member) or (RB110 not = 1, 2, 3 or 4)'/ RB240_F 1 'filled' -1 'missing' -2 'not applicable (spouse/partner is not a household member) or (RB110 not = 1,2, 3 or 4)'/ RB245 1 'current household member aged 16 and over (all hm aged 16+ interviewed)' 2 'selected respondent (only selected hm aged 16+ interviewed)' 3 'not selected respondent(only selected hm aged 16+ interviewed)' 4 'not eligible person(Hm aged less than 16)'/ RB245_F 1 'filled' -2 'not applicable (RB110 not = 1, 2, 3 or 4)'/ RB250 11 'information only completed from interview (information or interview completed)' 12 'information only completed from registers(information or interview completed) ' 13 'information completed from both: interview and registers(information or interview completed) ' 14 'information completed from full-record imputation (information or interview completed)' 21 'individual unable to respond and no proxy possible(Interview not completed though contact made)' 22 'failed to return self-completed questionnaire (Interview not completed though contact made)' 23 'refusal to cooperate(Interview not completed though contact made) ' 31 'person temporarily away and no proxy possible ' 32 'no contact for other reasons' 33 'information not completed: reason unknown'/ RB250_F 1 'filled' -2 'na (RB245 not = 1,2 or 3)'/ RB260 1 'face to face interview-PAPI' 2 'face to face interview-CAPI' 3 'CATI, telephone interview' 4 'self-administered by respondent' 5 'proxy interview'/ RB260_F 1 'filled' -1 'missing' -2 'na (RB250 not=11 or 13)'/ RB270_F 1 'filled' -1 'missing' -2 'na (RB260 not=5)'/ RX010 80 '80 or over'/ RX020 80 '80 or over'. SAVE OUTFILE="spss_reference" /compressed.