REDCapCAST/man/clean_redcap_name.Rd

23 lines
575 B
Plaintext
Raw Normal View History

2023-04-14 11:47:23 +02:00
% Generated by roxygen2: do not edit by hand
2025-01-29 10:04:38 +01:00
% Please edit documentation in R/utils.R
2023-04-14 11:47:23 +02:00
\name{clean_redcap_name}
\alias{clean_redcap_name}
\title{clean_redcap_name}
\usage{
clean_redcap_name(x)
}
\arguments{
\item{x}{vector or data frame for cleaning}
}
\value{
vector or data frame, same format as input
}
\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.
}
2025-01-29 10:04:38 +01:00
\examples{
"Research!, ne:ws? and c;l-.ls" |> clean_redcap_name()
}