validate_na_empty | R Documentation |
This function checks if a specified column in a data frame contains either NA or empty values.
validate_na_empty(df, col_name, verbose = TRUE)
df |
A data frame. |
col_name |
A character string specifying the name of the column to check. |
verbose |
A logical indicating whether to print informative messages. Default is TRUE. |
Number of issues
df <- data.frame(A = c("a", "", NA, "d"), B = 1:4)
validate_na_empty(df, "A")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.