4 months) and 12 months (\u003C3/3-6/6-9/12)\ncheck descriptives\n\nFREQUENCIES VARIABLES=H0200125 H0200128\n /ORDER=ANALYSIS.\n\n*check combinations of variables\n\nDATASET DECLARE Test.\nAGGREGATE\n /OUTFILE='Test'\n /BREAK= H0200125 H0200128\n /N_BREAK=N.\n\n*some combinations are not possible (e.g. H0200125 is 1 = \u003C2 months, and H0200128 is 4 = >9 months). Consensus after discussion with group members: set those combinations to missing\n*if only 1 of the variables is filled in: use only this information. if both variables are filled in: use specific value for combination. \n*only H0200125 filled in: 1 (\u003C2mo) = 2 mo; 2 (2-4 mo) = 3 mo; 3 (>4 mo) = 4 mo\n*only H0200128 filled in: 1 (\u003C3mo) = 3 mo; 2 (3-6 mo) = 4.5 mo; 3 (6-9 mo) 7.5 mo; 4 (>9 mo) = 9 mo\n*both filled in: 1 (\u003C2 mo) and 1 (\u003C3mo) = 2 mo; 2 (2-4mo) and 1 (\u003C3mo) = 2.5 mo; 2 (2-4mo) and 2 (3-6mo) = 3.5 mo; 3 (>4mo) and 2 (3-6mo) =5 mo; 3 (>4mo) and 3 (6-9mo) = 6mo\n*all those not specified (i.e. both missing or non-valid combinations) will automatically be set to \n\nCOMPUTE childcare_intro = 999. \nIF (H0200125 = 1) childcare_intro = 2. \nIF (H0200125 = 2) childcare_intro = 3.\nIF (H0200125 = 3) childcare_intro = 4. \nIF (H0200128 = 1) childcare_intro = 3.\nIF (H0200128 = 2) childcare_intro = 4.5.\nIF (H0200128 = 3) childcare_intro = 7.5.\nIF (H0200128 = 4) childcare_intro = 9. \nIF (H0200125 = 1 AND H0200128 = 1) childcare_intro = 2.\nIF (H0200125 = 2 AND H0200128 = 1) childcare_intro = 2.5.\nIF (H0200125 = 2 AND H0200128 = 2) childcare_intro = 3.5.\nIF (H0200125 = 3 AND H0200128 = 2) childcare_intro = 5. \nIF (H0200125 = 3 AND H0200128 = 3) childcare_intro = 6.\nIF (H0200125 = 1 AND H0200128 > 1) childcare_intro = 999. \nIF (H0200125 = 2 AND H0200128 > 2) childcare_intro = 999.\nIF (H0200125 = 3 AND H0200128 = 1) childcare_intro = 999.\nIF (H0200125 = 3 AND H0200128 = 4) childcare_intro = 999.\nVARIABLE LABELS childcare_intro 'at what age he/she started in daycare (age in months)'. \nRECODE childcare_intro (999=SYSMIS). \nVARIABLE LEVEL childcare_intro (SCALE). \nFORMATS childcare_intro (F8.1).\nEXECUTE. \n\n*check recoding (compare frequencies to aggregate set 'test'). \n\nFREQUENCIES VARIABLES=childcare_intro\n /ORDER=ANALYSIS.","At ages 6 and 12 months, it is asked at what age childcare was started. At 6 months, the options wee \u003C2 months, 2-4 months or >4 months. At age 12 months the options were \u003C3 months, 3-6 months, 6-9 months or >9 months. For all these categories, and combinations of categories if both questionnaires are filled in, a specific continuous value is assigned. If the combination of categories are not possible (e.g. \u003C2 months at the one questionnaire, and >9 months at the other), childcare_intro will be set to missing. For the other categories, the following values are assigned: only at 6 months filled in: 1 (\u003C2mo) = 2 mo; 2 (2-4 mo) = 3 mo; 3 (>4 mo) = 4 mo. only at 12 months filled in: 1 (\u003C3mo) = 3 mo; 2 (3-6 mo) = 4.5 mo; 3 (6-9 mo) 7.5 mo; 4 (>9 mo) = 9 mo. Both filled in: 1 (\u003C2 mo) and 1 (\u003C3mo) = 2 mo; 2 (2-4mo) and 1 (\u003C3mo) = 2.5 mo; 2 (2-4mo) and 2 (3-6mo) = 3.5 mo; 3 (>4mo) and 2 (3-6mo) =5 mo; 3 (>4mo) and 3 (6-9mo) = 6mo",{"name":558},{"id":381,"name":382},{"resource":11458},{"id":381},[11460,11465],{"name":11461,"resource":11462,"dataset":11463},"H0200128",{"id":381},{"name":12,"resource":11464},{"id":381},{"name":11466,"resource":11467,"dataset":11468},"H0200125",{"id":381},{"name":12,"resource":11469},{"id":381},{"dataset":11471,"name":10586},{"resource":11472,"name":12},{"id":10},{"syntax":6008,"description":11474,"match":11475,"source":11476,"sourceDataset":11477,"targetVariable":11479,"repeats":35},"At what age child started in child care",{"name":20},{"id":416,"name":417},{"resource":11478},{"id":416},{"dataset":11480,"name":10586},{"resource":11481,"name":12},{"id":10},{"description":11483,"match":11484,"source":11485,"sourceDataset":11486,"sourceVariables":11488,"targetVariable":11557,"repeats":35},"At what age he/she started in child care",{"name":558},{"id":488,"name":489},{"resource":11487},{"id":488},[11489,11493,11497,11501,11505,11509,11513,11517,11521,11525,11529,11533,11537,11541,11545,11549,11553],{"name":10076,"resource":11490,"dataset":11491},{"id":488},{"name":12,"resource":11492},{"id":488},{"name":10081,"resource":11494,"dataset":11495},{"id":488},{"name":12,"resource":11496},{"id":488},{"name":10101,"resource":11498,"dataset":11499},{"id":488},{"name":12,"resource":11500},{"id":488},{"name":10106,"resource":11502,"dataset":11503},{"id":488},{"name":12,"resource":11504},{"id":488},{"name":10125,"resource":11506,"dataset":11507},{"id":488},{"name":12,"resource":11508},{"id":488},{"name":10130,"resource":11510,"dataset":11511},{"id":488},{"name":12,"resource":11512},{"id":488},{"name":10145,"resource":11514,"dataset":11515},{"id":488},{"name":12,"resource":11516},{"id":488},{"name":10150,"resource":11518,"dataset":11519},{"id":488},{"name":12,"resource":11520},{"id":488},{"name":10155,"resource":11522,"dataset":11523},{"id":488},{"name":12,"resource":11524},{"id":488},{"name":10160,"resource":11526,"dataset":11527},{"id":488},{"name":12,"resource":11528},{"id":488},{"name":10071,"resource":11530,"dataset":11531},{"id":488},{"name":12,"resource":11532},{"id":488},{"name":10091,"resource":11534,"dataset":11535},{"id":488},{"name":12,"resource":11536},{"id":488},{"name":10096,"resource":11538,"dataset":11539},{"id":488},{"name":12,"resource":11540},{"id":488},{"name":494,"resource":11542,"dataset":11543},{"id":488},{"name":12,"resource":11544},{"id":488},{"name":10120,"resource":11546,"dataset":11547},{"id":488},{"name":12,"resource":11548},{"id":488},{"name":10135,"resource":11550,"dataset":11551},{"id":488},{"name":12,"resource":11552},{"id":488},{"name":10165,"resource":11554,"dataset":11555},{"id":488},{"name":12,"resource":11556},{"id":488},{"dataset":11558,"name":10586},{"resource":11559,"name":12},{"id":10},{"syntax":11561,"description":11562,"match":11563,"source":11564,"sourceDataset":11565,"sourceVariables":11567,"sourceVariablesOtherDatasets":11576,"targetVariable":11595,"repeats":35},"library(dplyr)\n\n\n\ndd_outdat \u003C- dd_indat %>%\n\n\n\n mutate(childcare_intro = case_when(bib6g01 == 1 ~ c(agecm_b6mtab),\n\n\n\n bib12d02 == 1 ~ c(agecm_b12tab),\n\n\n\n bib18b02 == 1 ~ c(agecm_b18tab),\n\n\n\n bib24e02 == 1 ~ c(agecm_b24tab))) %>%\n\n\n\n select(BiBChildID, childcare_intro)","If parent reported childcare at the 6 month visit (bib6g01) then childcare_intro=age of child at that study visit.\n\n\n\nIf parent reported childcare at the 12 month visit (bib12d02) then childcare_intro=age of child at that study visit.\n\n\n\nIf parent reported childcare at the 18 month visit (bib18b02) then childcare_intro=age of child at that study visit.\n\n\n\nIf parent reported childcare at the 24 month visit (bib24e02) then childcare_intro=age of child at that study visit, else childcare_intro is missing.\n\n\n\n additional info: none",{"name":20},{"id":101,"name":102},{"resource":11566},{"id":101},[11568,11572],{"name":5528,"resource":11569,"dataset":11570},{"id":101},{"name":6056,"resource":11571},{"id":101},{"name":8797,"resource":11573,"dataset":11574},{"id":101},{"name":6056,"resource":11575},{"id":101},[11577,11580,11583,11586,11589,11592],{"name":8652,"dataset":11578},{"name":6098,"resource":11579},{"id":101},{"name":5598,"dataset":11581},{"name":6098,"resource":11582},{"id":101},{"name":8697,"dataset":11584},{"name":6127,"resource":11585},{"id":101},{"name":10699,"dataset":11587},{"name":6127,"resource":11588},{"id":101},{"name":5628,"dataset":11590},{"name":6081,"resource":11591},{"id":101},{"name":8802,"dataset":11593},{"name":6081,"resource":11594},{"id":101},{"dataset":11596,"name":10586},{"resource":11597,"name":12},{"id":10},[11599,11600,11601,11602,11603,11604,11605,11606,11607,11608,11609,11610,11611,11612,11614,11615,11617,11619,11621,11622],{"id":22},{"id":1439},{"id":1213},{"id":488},{"id":224},{"id":1296},{"id":1323},{"id":398},{"id":381},{"id":532},{"id":275},{"id":471},{"id":1421},{"id":11613},"NORDCAP",{"id":437},{"id":11616},"RS1",{"id":11618},"RS2",{"id":11620},"RS3",{"id":1351},{"id":11623},"UK Biobank",{"count":11625},212,["Reactive",11627],{},["Set"],["ShallowReactive",11630],{"variables-page-LongITools-[object Object]":-1,"$fUWGCb5R2Xo2Q_YPcMXa33XNWuYz6cJycAWnWKuMXG-c":-1},true,"/LongITools/variables",{"datasets":11634},{"datasets":11635,"isEnabled":11636},{},["EmptyRef",11637],"false"]