View source: R/find_col_info.R
find_col_info | R Documentation |
For a data.frame, loop through the columns provided (cols_check) and summarise the number of non-NA entries and the groups that contain non-NA entries (for example if want to search trial, year, or filename), and return the first non-NA entry as an example
find_col_info(df, cols_check, by_col)
df |
A data.frame to summarise |
cols_check |
A character vector of column names to check |
by_col |
A bare variable to summarise |
Other validation functions:
confront_data()
,
create_rules()
,
validate_colnames()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.