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