auto_rename_columns: Autorenames columns based on word detection and adding a...

View source: R/import_config.R

auto_rename_columnsR Documentation

Autorenames columns based on word detection and adding a prefix

Description

Autorenames columns based on word detection and adding a prefix

Usage

auto_rename_columns(column_names, detection_words, prefix)

Arguments

column_names

a vector with column

detection_words

The words that indicate a prefix should be added to the column name

prefix

The prefix the should be added in case a word is detected

Value

A boolean indicating whether the two column specs are equal

Examples

clean_column_names(column_names)

mark-me/graydon.package documentation built on Nov. 14, 2023, 5:31 p.m.