Missing can be NA and for character variables it can be certain strings too. This function is experimental and design may change in future releases.
listMissings(data, cols, by, na.strings = c("", "."), quiet = FALSE, as.fun)
The data to look into.
The columns to look for missings in.
If supplied, we are keeping track of the missings within the values of the by columns. In summary, by is included too.
Strings that should be interpreted as missing. All spaces will be removed before we compare to na.strings. The default is c("",".") so say " . " is a missing by default.
Keep quiet? Default is not to.
A function that will be run on the result before returning. If first input data set is a data.table, the default is to return a data.table, if not the default is to return a data.frame. Use whatever to get what fits in with your workflow. Default can be configured with NMdataConf.
Invisibly, a data.frame including all findings
Other DataWrangling:
compareCols()
,
dims()