Build leave-one-out (LOO) merged parquet matrices from stratified parquet files.

.parquet2LOOMatrix(
  path,
  stratify_by = "year",
  verbosity = c("minimal", "debug")
)

Arguments

path

Character. Base directory containing stratified parquet matrices. Expected subdirs: matrix_year/ or matrix_country/.

stratify_by

Character or NULL. One of "year", "country".

verbosity

Character. "minimal" or "debug"; when "debug", prints detailed steps.

Value

Invisibly returns a tibble with paths of created LOO parquet files.