drop_empty

drop_empty(x, drop = "all")

Arguments

x

List of input values

drop

Type of values to drop. Default to 'all'.

Value

clean data

Examples

if (interactive()) {
  values <- c("real", "null", NULL, NA, "  ")
  drop_empty(values)
  # [1] "real"
}