% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/matching_preprocessing.R
\name{auto_encode_categorical}
\alias{auto_encode_categorical}
\title{Automatically encode categorical variables}
\usage{
auto_encode_categorical(left, right, var)
}
\arguments{
\item{left}{Data frame of left units}

\item{right}{Data frame of right units}

\item{var}{Variable name to encode}
}
\value{
List with encoded left and right columns, plus encoding metadata
}
\description{
Converts categorical variables to numeric representations suitable for matching.
Currently supports binary variables (0/1) and ordered factors.
}
\keyword{internal}
