Removes "Do not know" and other similar words from factor levels in data frame
removeAllDK(x, dk = NULL)List or data frame
Character vector, containing search terms, e.g. c("Do not know", "DK"). These terms will be replaced by NA. If NULL, defaults to c("I don't know", "Don't Know", "Don't know", "Dont know" , "DK")
A data frame
hasDK() and removeDK()
Other Functions to clean data: encToInt,
fixCommonEncodingProblems,
fixLevels01R,
fixLevels01SPSS, fixLevels01,
hasDK, intToEnc,
leveltestR, leveltestSPSS,
removeDK