MetricsApi: Metrics operations

Description Methods Public fields Active bindings Methods

Description

swagger.Metrics

Methods

get_game_ppa Team Predicated Points Added (PPA/EPA) by game

get_player_game_ppa Player Predicated Points Added (PPA/EPA) broken down by game

get_player_season_ppa Player Predicated Points Added (PPA/EPA) broken down by season

get_predicted_points Predicted Points (i.e. Expected Points or EP)

get_pregame_win_probabilities Pregame win probability data

get_team_ppa Predicted Points Added (PPA/EPA) data by team

get_win_probability_data Win probability chart data

Public fields

path

Stores url path of the request.

apiClient

Handles the client-server communication.

userAgent

Set the user agent of the request.

Active bindings

path

Stores url path of the request.

Methods

Public methods


Method new()

Usage
MetricsApi$new(apiClient)

Method get_game_ppa()

Usage
MetricsApi$get_game_ppa(
  year,
  week,
  team,
  conference,
  exclude_garbage_time,
  season_type,
  ...
)

Method get_player_game_ppa()

Usage
MetricsApi$get_player_game_ppa(
  year,
  week,
  team,
  position,
  player_id,
  threshold,
  exclude_garbage_time,
  season_type,
  ...
)

Method get_player_season_ppa()

Usage
MetricsApi$get_player_season_ppa(
  year,
  team,
  conference,
  position,
  player_id,
  threshold,
  exclude_garbage_time,
  ...
)

Method get_predicted_points()

Usage
MetricsApi$get_predicted_points(down, distance, ...)

Method get_pregame_win_probabilities()

Usage
MetricsApi$get_pregame_win_probabilities(year, week, team, season_type, ...)

Method get_team_ppa()

Usage
MetricsApi$get_team_ppa(year, team, conference, exclude_garbage_time, ...)

Method get_win_probability_data()

Usage
MetricsApi$get_win_probability_data(game_id, ...)

Method clone()

The objects of this class are cloneable with this method.

Usage
MetricsApi$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


saiemgilani/cfbd-api-R documentation built on Feb. 16, 2021, 12:07 a.m.