% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/import.R
\name{detect_col}
\alias{detect_col}
\title{Detect a STEPS column by alias}
\usage{
detect_col(data, candidates, label = NULL)
}
\arguments{
\item{data}{A data frame.}

\item{candidates}{Character vector of possible column names.}

\item{label}{Optional label for progress messages.}
}
\value{
The matched column name (character) or \code{NULL}.
}
\description{
Tries to find a column in the data matching one of several candidate
names (case-insensitive).
}
