Learn R Programming

REDCapCAST (version 25.3.1)

clean_redcap_name: 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)

Value

vector or data frame, same format as input

Arguments

x

vector or data frame for cleaning

Examples

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

Run the code above in your browser using DataLab