diff --git a/MTUS-W6-adult-survey-data-processing.Rmd b/MTUS-W6-adult-survey-data-processing.Rmd index d3e1749f3e5f19c31023bbda52390d056fc3731b..9ca21c81a83c1f3a50f42b1ab155a0ecf3a9bb96 100644 --- a/MTUS-W6-adult-survey-data-processing.Rmd +++ b/MTUS-W6-adult-survey-data-processing.Rmd @@ -3,15 +3,15 @@ title: "MTUS World 6 Survey Data Processing" author: "Ben Anderson (b.anderson@soton.ac.uk/@dataknut)" date: 'Last run at: `r Sys.time()`' output: - pdf_document: - toc: yes - toc_depth: '3' html_document: fig_caption: yes number_sections: yes theme: journal toc: yes toc_depth: 3 + pdf_document: + toc: yes + toc_depth: '3' word_document: toc: yes toc_depth: '3' @@ -295,7 +295,7 @@ MTUSW6UKsurveyCore_DT <- MTUSW6UKsurvey_DT[, .(countrya, survey, swave, msamp, h empstat, occup, urban, badcase, sex, hhtype, income, propwt, ba_survey, ba_diarypid, ba_pid, - ba_birthyear, ba_age_cohort, ba_age_r, ba_nchild, ba_npeople) + age, ba_age_cohort, ba_age_r, ba_nchild, ba_npeople) # important to keep age to enable labour market filtering etc ] # Save out the core file for later use (saves re-running) ----