Skip to contents

Returns the Cricinfo fixtures index — a schedule of all international matches with status, teams, venue, and whether ball-by-ball data exists.

Usage

load_cricinfo_fixtures(
  format = "all",
  gender = "all",
  status = "all",
  source = c("remote", "local")
)

Arguments

format

Character. "t20i", "odi", "test", or "all" (default).

gender

Character. "male", "female", or "all" (default).

status

Character. Match status filter: "all" (default), "POST" (completed), "PRE" (upcoming), "LIVE".

source

Character. "remote" (default) downloads fixtures.parquet from the cricinfo GitHub release. "local" queries DuckDB.

Value

Data frame of fixtures.

Examples

if (FALSE) { # \dontrun{
# All completed T20I fixtures
load_cricinfo_fixtures(format = "t20i", status = "POST")

# All upcoming matches
load_cricinfo_fixtures(status = "PRE")

# From remote (no local DB needed)
load_cricinfo_fixtures(source = "remote")
} # }