A value vector in the key will generally be a character vector. This utility is used to check if the characters are either R missing or values in a list of characters that represent missings.
isNA(x, na.strings = c("\\.", "", "\\s+", "N/A"))
Input data vector
Vector of string values to be considered as missing. Defaults will match values that are equal to ., empty string "", any number of white space elements, or charcter string "N/A". We do not include "NA" by default because some projects use "NA" to mean "not appropriate".
Logical vector, TRUE if a value is either NA or in na.strings.