Skip to contents

Merge DuckDB databases with schema alignment and timestamped logfile

Usage

merge_databases(
  year,
  missing_urls,
  temp_db_path,
  output_path,
  version = "efile_v2_1"
)

Arguments

year

Integer tax year.

missing_urls

Character vector (for logging).

temp_db_path

Path to temporary DuckDB with new filings.

output_path

Path for final merged DB.

version

S3 version subfolder under duckdb/ (default "efile_v2_1").

Value

Invisibly output_path.