Skip to contents

Load player/squad data from Fox Sports matches.

Usage

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

Arguments

match_ids

Integer or numeric vector. Filter for specific match IDs. If NULL, loads all.

format

Character. Format filter (e.g., "bbl", "test"). If NULL, loads all formats.

gender

Character. "male", "female", or NULL (all genders). Only applies when filtering via the details table.

source

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

Value

Data frame of player data.

Examples

if (FALSE) { # \dontrun{
# All BBL players
bbl_players <- load_fox_players(format = "bbl")

# Players from a specific match
players <- load_fox_players(match_ids = 123456)
} # }