% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/make_alphanumeric_conversion.R
\name{make_alphanumeric_conversion}
\alias{make_alphanumeric_conversion}
\title{Convert Between Alphabetical and Numeric Responses}
\usage{
make_alphanumeric_conversion(
  data,
  column_vars,
  from_values,
  to_values,
  new_names = NULL,
  case_sensitive = FALSE
)
}
\arguments{
\item{data}{A data frame.}

\item{column_vars}{Character vector of column names to convert.}

\item{from_values}{Vector of values to replace (character or numeric).}

\item{to_values}{Vector of replacement values (must be same length as from_values).}

\item{new_names}{Optional character vector of new column names.
If NULL (default), original columns are overwritten.}

\item{case_sensitive}{Logical. Only relevant when converting character values.
Default is FALSE.}
}
\value{
A data frame with converted values.
}
\description{
Converts specified columns between alphabetical (text) and numeric values.
Can either overwrite existing columns or create new ones.
}
\details{
Factors are automatically converted to character before matching.
Unmatched values become NA with a warning.
}
