.col_rename_bullet {jpinfect} | R Documentation |
Clean and Format Column Names for bullet reports
Description
This helper function cleans and formats column names of a dataset to ensure consistent and readable formatting.
Usage
.col_rename_bullet(dataset, rep_each = 1)
Arguments
dataset |
A data frame or tibble whose column names need to be cleaned. |
rep_each |
An integer specifying the repetition count for column names (default is 1). |
Details
The function removes unnecessary characters, trims whitespace, replaces certain patterns for consistency, and optionally repeats the column names.
Value
A character vector containing cleaned and formatted column names.
[Package jpinfect version 0.1.2 Index]