% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tidy_bunch.R
\name{tidy_bunch}
\alias{tidy_bunch}
\title{Tidy Gapminder indicator data sheets stored in a folder.}
\usage{
tidy_bunch(dirpath = ".", combine = FALSE, ...)
}
\arguments{
\item{dirpath}{Path to folder containing indices Gapminder indicator data sheets.
Defaults to the current working directory.}

\item{combine}{A boolean. If \code{TRUE}, combines all tidied data sheets
into a single data frame joined on \code{country} and \code{year}.
Default:  \code{FALSE}.}

\item{...}{Additional arguments (reserved for future use).}
}
\value{
If \code{combine = FALSE} (default), a named list of tibbles, one per file.
  If \code{combine = TRUE}, a single tibble with all indicators merged by
  \code{country} and \code{year}.
}
\description{
Applies \code{\link{tidy_index}} to all Gapminder data sheets found in a
directory and optionally combines them into a single data frame.
}
\examples{
folder_path <- system.file("extdata", package = "tidygapminder")

tidy_bunch(folder_path)
tidy_bunch(folder_path, combine = TRUE)

}
