rename_col.Rd
This wrapper required using enexpr() because of the bare variables being passed to rename_col. See tests/understand_wrappers.R for more details
rename_col(
ls,
rename_df,
rename_col,
old_col,
element_col = NULL,
rm_col = FALSE
)
rename.col
A list of data.frames whose columns will be renamed
A data.frame that has a column containing old column names and new column names
A variable name that corresponds to the column containing new column names
A variable name that corresponds to the column to be renamed
A variable name that corresponds to the name of the list element to be renamed. The default value is NULL, meaning that the rename will be applied to all elements in ls
A logical specifying whether to remove columns that have been renamed to "rm_col" in rename_df
Other clean columns functions:
rm_dup_col()