Skip to content
Snippets Groups Projects
Commit eb75b2c8 authored by Ben Anderson's avatar Ben Anderson
Browse files

Amended core variables kept to retain original age variable but not birth year

parent d1260d5b
No related branches found
No related tags found
No related merge requests found
...@@ -3,15 +3,15 @@ title: "MTUS World 6 Survey Data Processing" ...@@ -3,15 +3,15 @@ title: "MTUS World 6 Survey Data Processing"
author: "Ben Anderson (b.anderson@soton.ac.uk/@dataknut)" author: "Ben Anderson (b.anderson@soton.ac.uk/@dataknut)"
date: 'Last run at: `r Sys.time()`' date: 'Last run at: `r Sys.time()`'
output: output:
pdf_document:
toc: yes
toc_depth: '3'
html_document: html_document:
fig_caption: yes fig_caption: yes
number_sections: yes number_sections: yes
theme: journal theme: journal
toc: yes toc: yes
toc_depth: 3 toc_depth: 3
pdf_document:
toc: yes
toc_depth: '3'
word_document: word_document:
toc: yes toc: yes
toc_depth: '3' toc_depth: '3'
...@@ -295,7 +295,7 @@ MTUSW6UKsurveyCore_DT <- MTUSW6UKsurvey_DT[, .(countrya, survey, swave, msamp, h ...@@ -295,7 +295,7 @@ MTUSW6UKsurveyCore_DT <- MTUSW6UKsurvey_DT[, .(countrya, survey, swave, msamp, h
empstat, occup, urban, empstat, occup, urban,
badcase, sex, hhtype, income, propwt, badcase, sex, hhtype, income, propwt,
ba_survey, ba_diarypid, ba_pid, 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) ---- # Save out the core file for later use (saves re-running) ----
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment