loadMergedFile | R Documentation |
Loads and merges a CSV/XLS file with the supplied values (keys). ie: returns a dataframe (excluding key_column_name) for the supplied values that exist in key_column_name of the file
loadMergedFile(filedir, filename, key_column_name, selected_keys)
filedir |
file directory, with or without trailing slash |
filename |
file name. File type is determined from the file extension, eg: ".csv", ".xls", ".xlsx" |
key_column_name |
a column in the propensity files to merge on, and select those values that appear in selected_keys |
selected_keys |
a vector of selected keys that are to be retained in the propensities |
a dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.