Scans Cricinfo parquet directories for ball-by-ball, match, and innings data and loads them into DuckDB. Skips matches already in the database. Also loads the fixtures index if present.
Arguments
- cricinfo_dir
Character. Path to the cricinfo data directory (e.g., "../bouncerdata/cricinfo"). If NULL, auto-detects from bouncerdata sibling directory.
- path
Character. Database file path. If NULL, uses default.
- formats
Character vector. Formats to ingest. Default c("t20i", "odi", "test").
- genders
Character vector. Genders to ingest. Default c("male", "female").
- verbose
Logical. Print progress messages. Default TRUE.
