% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/download_data.R
\name{download_iobr_data}
\alias{download_iobr_data}
\title{Download IOBR Data from GitHub with Mirror Support}
\usage{
download_iobr_data(
  name,
  force = FALSE,
  verbose = TRUE,
  mirrors = get_default_mirrors(),
  cache_dir = NULL
)
}
\arguments{
\item{name}{Character string. Name of the dataset to download.}

\item{force}{Logical. Whether to force re-download even if cached. Default: FALSE.}

\item{verbose}{Logical. Whether to print progress messages. Default: TRUE.}

\item{mirrors}{Character vector. URLs of mirrors to try. Default uses
get_default_mirrors().}

\item{cache_dir}{Character string. Custom cache directory. If NULL, uses
the option `IOBR.cache_dir` or the default system cache location.}
}
\value{
The requested dataset.
}
\description{
Downloads large datasets from GitHub releases to avoid CRAN size limits.
Supports multiple download mirrors for users in different regions.
Data is cached locally after first download. Cache directory can be
customized via `options(IOBR.cache_dir = "your/path")`.
}
\examples{
\dontrun{
tcga_sig <- download_iobr_data("tcga_stad_sig")
}
}
