powered by
Returns TRUE if x contains any instances of dk
has_dont_know(x, dk = "Don't Know")
TRUE or FALSE
Character vector or factor
Character vector, containing search terms, e.g. c("Don't know", "Don't Know")
c("Don't know", "Don't Know")
Other Functions to clean data: encToInt(), fix_common_encoding_problems(), fix_levels_01_spss(), intToEnc(), leveltest, remove_all_dont_know(), remove_dont_know()
encToInt()
fix_common_encoding_problems()
fix_levels_01_spss()
intToEnc()
leveltest
remove_all_dont_know()
remove_dont_know()