View source: R/column_helpers.R
| find_column | R Documentation |
Helper functions to handle column name variations and missing columns Get available columns matching a pattern
find_column(data, pattern, prefer = NULL)
data |
Data frame to check |
pattern |
Regular expression pattern to match |
prefer |
Character vector of preferred column names (first match wins) |
First matching column name or NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.