make_unique_column_names: Make column names unique when duplicated column names are...

View source: R/column_name_standardization.R

make_unique_column_namesR Documentation

Make column names unique when duplicated column names are found after the transformation

Description

Make column names unique when duplicated column names are found after the transformation

Usage

make_unique_column_names(after, kept, before, rename)

Arguments

after

A <vector> with the transformed column names

kept

A <logical> vector where column names to keep are set to TRUE

before

A <vector> with the initial column names

rename

A <vector> with the indices of the column names to be renamed

Value

An adjusted <vector> if there were duplicated names introduced due to the transformation


cleanepi documentation built on April 4, 2025, 5:12 a.m.