Downloads and parses the manifest.json from the cricsheet GitHub release.
Results are cached for the session to avoid repeated downloads.
Usage
get_remote_manifest(
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
List containing:
updated_at: Timestamp when manifest was generated
match_count: Total number of matches
match_ids: Character vector of all match_ids
partitions: Named list of partition metadata
Examples
if (FALSE) { # \dontrun{
manifest <- get_remote_manifest()
length(manifest$match_ids) # Number of matches in release
names(manifest$partitions) # Available partitions
} # }