Make a data frame or tibble fit for text analysis.

jl_incorporate(x, text_var = "text", remove_old_text_vars = TRUE)

Arguments

x

a data frame or tibble

text_var

the name of the variable containing text

remove_old_text_vars

whether to remove old text variable after renaming

Value

a tibble