Skip to contents

Quick lookup of all match_ids in the cricsheet release without downloading the full parquet files. Useful for determining which matches need to be scraped or updated.

Usage

get_remote_match_ids(
  repo = "peteowen1/bouncerdata",
  tag = "cricsheet",
  force = FALSE
)

Arguments

repo

Character. GitHub repository. Default "peteowen1/bouncerdata".

tag

Character. Release tag. Default "cricsheet".

force

Logical. Force re-download even if cached. Default FALSE.

Value

Character vector of match_ids

Examples

if (FALSE) { # \dontrun{
ids <- get_remote_match_ids()
length(ids)  # Total matches

# Check if a match exists
"1234567" %in% ids
} # }