
Step 3 - rename matched columns to their canonical names
Source:R/clean_dataset.R
dot-apply_renames.RdApplies rename_vec (a named character vector old -> new) to dt using
data.table::setnames(). Only renames entries where the old name actually
exists in dt; silently skips the rest so this function is safe to call
with a rename_vec built from a different dataset.