% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bind_indicators.R
\name{bind_indicators}
\alias{bind_indicators}
\title{Bind Cleaned Indicator Tibbles}
\usage{
bind_indicators(...)
}
\arguments{
\item{...}{Two or more tibbles returned by \code{\link[=gho_clean]{gho_clean()}} or
\code{\link[=sdg_clean]{sdg_clean()}} (or any data frame with the same column set). \code{NULL}
arguments are dropped. Calling with no inputs — or only \code{NULL}
inputs — returns the empty 15-column tibble.}
}
\value{
A single \link[tibble:tibble]{tibble} with the unified cleaned-
indicator schema (15 columns). Row order is \code{c(input_1, input_2, ...)}, preserving within-input order.
}
\description{
Combines two or more tibbles produced by \code{\link[=gho_clean]{gho_clean()}} or
\code{\link[=sdg_clean]{sdg_clean()}} into a single tibble. Because both cleaners output the
same 15-column schema, the result is a uniform table that can be
filtered, joined, or visualised without source-specific code paths;
use the \code{source} column to tell GHO rows apart from SDG rows.
}
\details{
Inputs do not need to be in any particular order. \code{NULL} inputs are
silently dropped, which makes it ergonomic to write code like
\code{bind_indicators(maybe_gho, maybe_sdg)} where some sources may not
have been fetched.
}
\examples{
\donttest{
gho <- gho_data("NCDMORT3070", area = wpro_cty) |> gho_clean()
sdg <- sdg_data("3.4.1",        area = wpro_cty) |> sdg_clean()
bind_indicators(gho, sdg)
}
}
\seealso{
\code{\link[=gho_clean]{gho_clean()}}, \code{\link[=sdg_clean]{sdg_clean()}}.
}
