Description Usage Arguments Author(s)
View source: R/guess_colname.R
Uses fuzzy matching (agrep
) to guess (column) names from a list of allowed character strings.
1 | guess_colname(cols = required_cols, df = dt, candidates = coln_search_words)
|
cols |
Character vector of approximate column names to be guessed |
df |
data frame containing column names |
candidates |
a switch argument or a character vector giving the candidates to be used in matching. The |
Mikko Vihtakari, Conrad Helgeland
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.