* Encoding: UTF-8. ************************************************* **set up MTUS Harmonised Core File (HSF) ** **last modified 07 June 2016 ** **Kimberly Fisher, Centre for Time Use Research** **University of Oxford, United Kingdom ** *************************************************. **************************************************************** ** set value of first cell to 8, & value of second cell to cc ** ****************************************************************. vector survey(1) hldid(1) persid(1) id(1) day(1) month(1) year(1) hhldsiz(1) nchild(1) agekid(1) sex(1) age(1) civstat(1) empstat(1) workhrs(1) edcat(1) sleep(1) eatdrin(1) selfcar(1) paidwor(1) educatn(1) foodpre(1) cleanet(1) maintai(1) shopser(1) garden(1) petcare(1) eldcare(1) pkidcar(1) ikidcar(1) religio(1) volorgw(1) commute(1) travel(1) sportex(1) tvradio(1) read(1) compint(1) goout(1) leisure(1) missing(1) main(69) propwt(1). rename variables (var00001 var00002 survey1 hldid1 persid1 id1 day1 month1 year1 hhldsiz1 nchild1 agekid1 sex1 age1 civstat1 empstat1 workhrs1 edcat1 sleep1 eatdrin1 selfcar1 paidwor1 educatn1 foodpre1 cleanet1 maintai1 shopser1 garden1 petcare1 eldcare1 pkidcar1 ikidcar1 religio1 volorgw1 commute1 travel1 sportex1 tvradio1 read1 compint1 goout1 leisure1 missing1 propwt1 = schema8s country survey hldid persid id day month year hhldsize nchild agekidx sex age civstat empstat workhrs edcat sleep eatdrink selfcare paidwork educatn foodprep cleanetc maintain shopserv garden petcare eldcare pkidcare ikidcare religion volorgwk commute travel sportex tvradio read compint goout leisure missing propwt). var lab schema8s 'Schema for Harmonised Core File' country 'Country of survey' survey 'Year survey began (survey id)'. val lab country "AL" "Albania" "DZ" "Algeria" "AM" "Armenia" "AU" "Australia" "AT" "Austria" "BA" "Bosnia & Herzegovina" "BE" "Belgium" "BR" "Brazil" "BG" "Bulgaria" "CA" "Canada" "CL" "Chile" "CN" "China" "CZ" "Czechoslovakia" "DK" "Denmark" "DJ" "Djibouti" "EE" "Estonia" "ET" "Ethiopia" "FI" "Finland" "FR" "France" "DE" "Germany" "GH" "Ghana" "GR" "Greece" "HU" "Hungary" "IN" "India" "ID" "Indonesia" "IE" "Ireland" "IL" "Israel" "IT" "Italy" "JP" "Japan" "LA" "Laos" "LV" "Latvia" "LT" "Lithuania" "MK" "Macedonia" "MU" "Mauritius" "MX" "Mexico" "MN" "Mongolia" "MA" "Morocco" "NL" "Netherlands" "NZ" "New Zealand" "NO" "Norway" "OM" "Oman" "PK" "Pakistan" "PS" "Palestine" "PE" "Peru" "PL" "Poland" "PT" "Portugal" "QA" "Qatar" "KR" "Republic of Korea" "RO" "Romania" "RU" "Russian Federation" "RS" "Serbia" "SI" "Slovenia" "ZA" "South Africa" "ES" "Spain" "SE" "Sweden" "CH" "Switzerland" "TZ" "Tanzania" "TH" "Thailand" "TN" "Tunisia" "TR" "Turkey" "UK" "United Kingdom" "US" "USA" "UY" "Uruguay" "YU" "Yugoslavia". var lab hldid 'Household identifier'. val lab hldid 0 '1 person sampled per household'. var lab persid 'Person/diarist identifier' id 'Diary identifier'. var lab day 'Day of week diary kept'. val lab day 1 Sunday 2 Monday 3 Tuesday 4 Wednesday 5 Thursday 6 Friday 7 Saturday 8 Whole week average 9 Unspecified weekday 10 Unspecified weekend day -8 Missing -9 could not be created. var lab month 'Month diary kept'. val lab month 1 January 2 February 3 March 4 April 5 May 6 June 7 July 8 August 9 September 10 October 11 November 12 December -8 Missing -9 could not be created. var lab year year diary kept. val lab year -8 Missing -9 could not be created. var lab hhldsize # people in household. val lab hhldsize -7 'not applicable/not asked' -8 missing -9 could not be created. var lab nchild '# child aged<18 in hhold'. val lab nchild -7 'not applicable/not asked' -8 missing -9 could not be created. var lab agekidx "Age youngest child in hhold (includes adult children)". val lab agekidx 1 'age 0-4' 2 'age 5-12' 3 'age 13-17' 4 adult child -7 'not applicable/not asked' -8 missing -9 could not be created. var lab sex Sex. val lab sex 1 Man 2 Woman -8 missing. var lab age Age. val lab age 90 90 or older -7 not asked -8 missing. var lab civstat is diarist in a couple. val lab civstat 1 'in couple (married/cohabit/civil partnership)' 2 'not in couple' -7 'not applicable/not asked' -8 missing -9 could not be created. var lab empstat employment status. val lab empstat 1 'full-time' 2 'part-time' 3 unknown job hours 4 not in paid work -7 'not applicable/not asked' -8 missing -9 could not be created. var lab workhrs Hours paid work last week inc overtime. val lab workhrs -7 'not applicable/not asked' -8 missing -9 could not be created. var lab edcat 'Harmonised highest level of education'. val lab edcat 1 'inc 2ndry or less' 2 'completed secondary' 3 'above 2ndry education' -7 'not applicable/not asked' -8 missing -9 could not be created. var lab sleep sleep and naps eatdrink meals or snacks selfcare wash, dress, care for self paidwork paid work and related activities educatn schooling, education, homework foodprep 'food preparation, cook, wash/put away dishes' cleanetc cleaning, laundry, regular housework maintain 'maintain home/vehicle, including collect fuel' shopserv purchase goods, consume services garden 'gardening/pick mushrooms' petcare 'pet care (including walk dogs)' eldcare look after adults needing help or care pkidcare physical, medical, supervisory, routine child care ikidcare 'play/sports with, read/talk to child, help with homework' religion worship, religion, and prayer volorgwk voluntary, civic, organisational act commute 'travel to/from work or education' travel other travel sportex sport or exercise tvradio watch television, listen to radio read read compint e-mail, web, program, computer games goout 'cinema/theatre, sport match, away from home leisure' leisure other free time leisure missing no activity reported. var lab main1 imputed personal or household care main2 sleep and naps main3 imputed sleep main4 wash, dress, care for self main5 meals at work or school main6 meals or snacks in other places main7 'paid work-main job (not at home)' main8 paid work at home main9 second or other job not at home main10 unpaid work to generate household income main11 travel as a part of work main12 work breaks main13 other time at workplace main14 look for work main15 regular schooling, education main16 homework main17 leisure & other education or training main18 food preparation, cooking main19 'set table, wash/put away dishes' main20 cleaning main21 laundry, ironing, clothing repair main22 'maintain home/vehicle, including collect fuel' main23 other domestic work main24 purchase goods main25 consume personal care services main26 consume other services main27 'pet care (not walk dog)' main28 physical, medical child care main29 teach, help with homework main30 read to, talk or play with child main31 supervise, accompany, other child care main32 adult care main33 voluntary, civic, organisational act main34 worship and religion main35 general out-of-home leisure main36 attend sporting event main37 'cinema, theatre, opera, concert' main38 other public event, venue main39 restaurant, cafe, bar, pub main40 party, social event, gambling main41 imputed time away from home main42 general sport or exercise main43 walking main44 cycling main45 other outside recreation main46 'gardening/pick mushrooms' main47 walk dogs main48 receive or visit friends main49 'conversation (in person, phone)' main50 'games (social & solitary)/other in-home social' main51 general indoor leisure main52 art or music main53 'correspondence (not e-mail)' main54 knit, crafts or hobbies main55 relax, think, do nothing main56 read main57 listen to music or other audio content main58 listen to radio main59 watch TV, video, DVD main60 computer games main61 e-mail, surf internet, computing main62 no activity, imputed or recorded transport main63 'travel to/from work' main64 education travel main65 'voluntary/civic/religious travel' main66 'child/adult care travel' main67 'shop, person/hhld care travel' main68 other travel main69 no recorded activity. var lab propwt 'Proposed weight'. val lab sleep to main69 -9 could not be created for study. val lab propwt 0 insufficient case, excluded using this weight. formats survey to main69 (f4.0) propwt (f6.2). save outfile='C:\Users\Kimberly Fisher\Desktop\Kimberly\time\mtus\MTUS database\schema&etc\MTUSHCFschema.sav'.