Skip to contents

This internal function standardizes the column names of a given dataframe. It utilizes regular expressions and the `tolower()` function to match column names against a list of predefined standard names. The approach is case-insensitive and allows for flexible matching of column names.

Usage

standardizeColnames(df, verbose = FALSE)

Arguments

df

A dataframe whose column names need to be standardized.

verbose

A logical indicating whether to print progress messages.

Value

A dataframe with standardized column names.