% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/indicators.R
\name{compute_all_indicators}
\alias{compute_all_indicators}
\title{Compute All STEPS Indicators}
\usage{
compute_all_indicators(design)
}
\arguments{
\item{design}{A \code{steps_designs} list from \code{\link[=setup_survey_design]{setup_survey_design()}}
(with elements \verb{$step1}, \verb{$step2}, \verb{$step3}), or a single
\link[survey:svydesign]{survey::svydesign} object for backward compatibility.}
}
\value{
A list with two elements:
\itemize{
\item \code{results}: a named list containing indicator results grouped by domain
(tobacco, alcohol, diet_pa, anthropometry, blood_pressure, biochemical)
\item \code{key_indicators}: a tibble with columns domain, indicator, estimate,
lower, and upper, summarising headline estimates across all domains
}
}
\description{
Runs all indicator modules (tobacco, alcohol, diet & physical activity,
anthropometry, blood pressure, and biochemical), using the appropriate
step-specific survey design for each domain per WHO STEPS methodology:
\itemize{
\item Step 1 (behavioural): tobacco, alcohol, diet & physical activity
\item Step 2 (physical):    anthropometry, blood pressure
\item Step 3 (biochemical): biochemical measures
}
}
\examples{
\donttest{
  test_data <- generate_test_data(n = 500, seed = 42)
  cols <- detect_steps_columns(test_data)
  clean <- clean_steps_data(test_data, cols)
  design <- setup_survey_design(clean)
  all_indicators <- compute_all_indicators(design)
  names(all_indicators$results)
}
}
