# NOT RUN {
bob <- data.frame(d = c("NULL", NA, "empty", 5, "?", 'nil', "NaN", " ", 2),
y = c("??", ' ', "999", 999, "tom", "5", 7, 10, 2),
l = rep(NA, 9),
a = c("blank", 0, "na", "None", "none", 3, 10, 4, "what"),
n = c(10, 5, 8, 1, NA, "NULL", NaN, "Nas", 2),
new = c(1, 2, 3, 4, 5, "void", 7, 8, "what"))
countMissingData(bob)
countMissingData(bob, userNAs = c("void", "what"))
# }
Run the code above in your browser using DataLab