View source: R/prepare_functions.R
select_rename_cols | R Documentation |
selects and renames columns from a data frame according to a reference table
select_rename_cols( df, renamings, old_name_col = "old_name", new_name_col = "new_name" )
df |
data frame with cols to be renamed |
renamings |
name of data frame with renamings |
old_name_col |
name of column with original variable names |
new_name_col |
name of column with new variable names |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.