| suggest_adam_column_mapping | R Documentation |
Based on validation results, attempt to suggest which columns to rename to standard ADaM variable names.
suggest_adam_column_mapping(
df,
validation,
string_distance = FALSE,
session = NULL,
input_ids = NULL
)
df |
A data.frame to evaluate |
validation |
A list returned from 'validate_adamish()' |
string_distance |
Logical. Use string distance matching to provide suggestions, requires 'stringdist' package |
session |
A Shiny session object (optional). |
input_ids |
A named list of input IDs corresponding to ADaM variable names (optional) |
A named list with best-guess mappings for missing variables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.