Downloads pre-built parquet files from the core release. These can be queried directly with DuckDB or Arrow without building a local database.
Usage
install_parquets_from_release(
repo = "peteowen1/bouncerdata",
tables = "all",
data_dir = NULL,
tag = "latest"
)Arguments
- repo
Character. GitHub repository. Default "peteowen1/bouncerdata".
- tables
Character vector. Tables to download, or "all". Options: "matches", "players", "team_elo", or delivery partitions like "deliveries_T20_male_club", "deliveries_Test_male_international", etc. See DATA_FOLDERS constant for all available partitions.
- data_dir
Character. Directory to store parquet files.
- tag
Character. Specific release tag, or "latest".
Examples
if (FALSE) { # \dontrun{
# Download all parquet files
install_parquets_from_release()
# Download only matches and T20 deliveries
install_parquets_from_release(
tables = c("matches", "deliveries_T20_male_club")
)
} # }
