Detect blank values; select, remove columns that are entirely blank
is_blank(x, na_blank = FALSE, ws = TRUE)select_blank_cols(x, na_blank = FALSE, ws = TRUE)
remove_blank_cols(x, na_blank = FALSE, ws = TRUE)
is_blank_cols(x, names = TRUE, na_blank = FALSE, ws = TRUE)
is_blank() a logical vector indicating blank elements in x
select_blank_cols() x with only columns that are all blank
remove_blank_cols() x without columns of only blank
is_blank_cols() a logical vector: TRUE all rows of column are blank,
otherwise FALSE
An object, or data.frame for *_cols() functions
Logical, if TRUE treats NA values as blank
Logical, when TRUE treats elements that are entirely whitespace
as blanks
Logical, if TRUE (default) will return column names as names
of vector
Blank values are values that do not contain any text