Skip to contents

Resumes an interrupted build by gathering remaining batch files in the year's batches/ folder and calling build_database() to process only those batches. Existing worker databases are reused and appended to if present.

Usage

resume_build_database(year, ccf = NULL, path = ".")

Arguments

year

Integer. Data year (subdirectory name).

ccf

Concordance crosswalk, prepared via prep_concordance().

path

Project directory containing the year subfolder.

Value

Invisibly returns the path to the merged DuckDB database.

Examples

if (FALSE) { # \dontrun{
resume_build_database(2021, path = "data")
} # }