From 3982614b668b1ec077d2b1e85976de377f60e153 Mon Sep 17 00:00:00 2001 From: Ben Anderson <dataknut@icloud.com> Date: Tue, 27 Jun 2017 18:09:19 +0100 Subject: [PATCH] forced return of processed dt --- MTUS-W6-adult-episodes-data-processing.Rmd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MTUS-W6-adult-episodes-data-processing.Rmd b/MTUS-W6-adult-episodes-data-processing.Rmd index 746e21b..0efa5a6 100644 --- a/MTUS-W6-adult-episodes-data-processing.Rmd +++ b/MTUS-W6-adult-episodes-data-processing.Rmd @@ -108,6 +108,7 @@ Loading and processing `r eFile`. system.time( mtusEpsW6DT <- as.data.table(read.spss(eFile)) ) +names(mtusEpsW6DT) ``` We have loaded `r format(nrow(mtusEpsW6DT), big.mark=",",scientific=FALSE)` rows of data for `r format(uniqueN(mtusEpsW6DT$countrya), big.mark=",",scientific=FALSE)` countries. @@ -131,7 +132,7 @@ setkey(mtusUKEpsDT, countrya, survey, swave, msamp, hldid, persid, id) # sorts i print("-> Create uniq id for diaries (for matching) and persons") # Create unique ids ---- -ba_MTUScreateIds(mtusUKEpsDT) +mtusUKEpsDT <- ba_MTUScreateIds(mtusUKEpsDT) ``` ## Episode dates -- GitLab