% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/load_data_external.R
\name{download_sample_size_data}
\alias{download_sample_size_data}
\title{Download simulation data for sample size planning}
\usage{
download_sample_size_data(force = FALSE)
}
\arguments{
\item{force}{Logical. If TRUE, re-download even if data exists. Default FALSE.}
}
\value{
Invisibly returns the path to the cached data file.
}
\description{
\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#experimental}{\figure{lifecycle-experimental.svg}{options: alt='[Experimental]'}}}{\strong{[Experimental]}}

Downloads pre-computed simulation results from GitHub releases.
Data is cached locally and only needs to be downloaded once.

Data is hosted at:
\href{https://github.com/MeikeSteinhilber/sprtt_plan_sample_size}{MeikeSteinhilber/sprtt_plan_sample_size}
}
\examples{
\dontrun{
# Download data (only needed once)
download_sample_size_data()

# Force re-download (e.g., after data update)
download_sample_size_data(force = TRUE)
}

}
