% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/functions.R
\name{connect_baf}
\alias{connect_baf}
\title{Connect to BAF dataset on MinIO (Arrow or DuckDB)}
\usage{
connect_baf(prefix, bucket_name = Sys.getenv("BAF_BUCKET"), use_duckdb = TRUE)
}
\arguments{
\item{prefix}{Character. Dataset prefix inside the bucket
(e.g., "02_intermediate/variant=Base").}

\item{bucket_name}{Character. Bucket name. Defaults to env var BAF_BUCKET.}

\item{use_duckdb}{Logical. If TRUE, return a DuckDB-backed lazy tbl.}
}
\value{
An Arrow Dataset (default) or a DuckDB-backed lazy table.
}
\description{
Connect to BAF dataset on MinIO (Arrow or DuckDB)
}
