Skip to contents

Load batting scorecards with player info (DOB, batting/bowling style, playing role) and batting statistics per innings.

Usage

load_cricinfo_innings(
  match_ids = NULL,
  format = NULL,
  gender = NULL,
  source = c("remote", "local")
)

Arguments

match_ids

Character vector. Filter for specific match IDs. If NULL, loads all.

format

Character. "t20i", "odi", "test", or NULL (all formats).

gender

Character. "male", "female", or NULL (all genders).

source

Character. "remote" (default) or "local".

Value

Data frame of batting scorecard data.

Examples

if (FALSE) { # \dontrun{
innings <- load_cricinfo_innings(match_ids = "1502145")
t20_innings <- load_cricinfo_innings(format = "t20i")
} # }