This function replaces character values with new character values, which is useful when performing rename operations when values are held in character vectors.
rename_values_base(
x,
...,
default_value = x,
warn_missing = TRUE,
warn_duplicated = TRUE
)A vector with values replaced
Vector of values to replace
Key/value pairs in the form oldvalue="newvalue"
A vector of values to use as the default should the value not
be found in ...
Print a message if any old names are not actually present in x
Print a message if any name appears more than once in x after the operation.