% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/indicators.R
\name{extract_key}
\alias{extract_key}
\title{Extract Key Indicator for Fact Sheet}
\usage{
extract_key(ind_list, domain, key, label)
}
\arguments{
\item{ind_list}{A list of indicator results (e.g., from compute_tobacco_indicators)}

\item{domain}{The domain name (e.g., "Tobacco", "Alcohol")}

\item{key}{The result name to extract (e.g., "current_tobacco_total")}

\item{label}{The display label for the indicator}
}
\value{
A tibble row with columns: domain, indicator, estimate, lower, upper,
or NULL if the key does not exist in ind_list
}
\description{
Internal helper function to extract a single key indicator from an
indicator list and format it as a tibble row with domain and label.
}
\keyword{internal}
