From 413ad02a87cb88fa033afbe67c1655ab03128aef Mon Sep 17 00:00:00 2001 From: Erik de Vries Date: Tue, 23 Oct 2018 16:17:17 +0200 Subject: [PATCH] Set default to "lemmas" for dfm_gen --- R/dfm_gen.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/dfm_gen.R b/R/dfm_gen.R index be336fb..375f49e 100644 --- a/R/dfm_gen.R +++ b/R/dfm_gen.R @@ -16,7 +16,7 @@ # filter(`_source.codes.timeSpent` != -1) %>% ### Exclude Norwegian summer sample hack -dfm_gen <- function(out,words = '999', text = c("lemmas","full")) { +dfm_gen <- function(out,words = '999', text = "lemmas") { # Create subset with just ids, codes and text out <- out %>% select(`_id`, matches("_source.*")) ### Keep only the id and anything belonging to the source field