% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/import.R
\name{.strip_haven_labels}
\alias{.strip_haven_labels}
\title{Strip haven-labelled classes from all columns in a data frame}
\usage{
.strip_haven_labels(data)
}
\arguments{
\item{data}{A data frame (typically from \code{\link[=import_steps_data]{import_steps_data()}}).}
}
\value{
The same data frame with all haven labels removed.
}
\description{
Converts \code{haven_labelled} vectors to their base R types.
This prevents downstream errors (e.g., \verb{dim<-.haven_labelled() not supported}) when passing the data to DT, dplyr, or survey.
}
\keyword{internal}
