Skip to contents

Retrieves player game data from DuckDB or GitHub release.

Usage

load_player_game_data(
  format = c("t20", "odi", "test"),
  match_ids = NULL,
  player_ids = NULL,
  source = c("local", "remote"),
  path = NULL
)

Arguments

format

Character. Match format: "t20", "odi", or "test".

match_ids

Character vector. Filter to specific matches (NULL = all).

player_ids

Character vector. Filter to specific players (NULL = all).

source

Character. "local" for DuckDB, "remote" for GitHub release.

path

Character. Custom DB path (only for source = "local").

Value

data.table with player game data.