clean_redcap_name: clean_redcap_name

View source: R/utils.r

clean_redcap_nameR Documentation

clean_redcap_name

Description

Stepwise removal on non-alphanumeric characters, trailing white space, substitutes spaces for underscores and converts to lower case. Trying to make up for different naming conventions.

Usage

clean_redcap_name(x)

Arguments

x

vector or data frame for cleaning

Value

vector or data frame, same format as input

Examples

"Research!, ne:ws? and c;l-.ls" |> clean_redcap_name()

REDCapCAST documentation built on April 4, 2025, 3:18 a.m.