Skip to contents

Fetch Player Splits Data from API

Usage

fetch_player_splits_data(
  season,
  season_type,
  measure_type,
  player_id,
  per_mode
)

Arguments

season

A numeric value representing the season (e.g., 2024).

season_type

A character string specifying the type of season

measure_type

A character string specifying the measure type

player_id

A numeric or character vector representing the player's ID

per_mode

A character string representing the aggregation method

Value

A list containing the raw player career data.