% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_utils.R
\name{require_column}
\alias{require_column}
\title{Require a column exists in a data frame}
\usage{
require_column(df, col, param_name = deparse(substitute(df)))
}
\arguments{
\item{df}{Data frame to check}

\item{col}{Column name to require}

\item{param_name}{Name of the data frame parameter (for error message)}
}
\value{
Invisible TRUE if column exists, otherwise stops with error
}
\description{
Simple check that a single column exists. For checking multiple columns,
use validate_dataframe() with required_cols parameter.
}
\keyword{internal}
