From eb75b2c81e30994ec0d14ce98f9e9649bf79e467 Mon Sep 17 00:00:00 2001 From: Ben Anderson <dataknut@icloud.com> Date: Mon, 1 Aug 2016 11:21:48 +0100 Subject: [PATCH] Amended core variables kept to retain original age variable but not birth year --- MTUS-W6-adult-survey-data-processing.Rmd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MTUS-W6-adult-survey-data-processing.Rmd b/MTUS-W6-adult-survey-data-processing.Rmd index d3e1749..9ca21c8 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) ---- -- GitLab