cfbd_metrics: *CFBD Metrics Endpoint Overview*

cfbd_metricsR Documentation

CFBD Metrics Endpoint Overview

Description

cfbd_metrics_ppa_games():

Get team game averages for predicted points added (PPA).

cfbd_metrics_ppa_players_games():

Get player game averages for predicted points added (PPA).

cfbd_metrics_ppa_players_season():

Get player season averages for predicted points added (PPA).

cfbd_metrics_ppa_predicted():

Calculate predicted points using Down and Distance.

cfbd_metrics_ppa_teams():

Get team averages for predicted points added (PPA).

cfbd_metrics_wp_pregame():

Get pre-game win probability data from CFBD API.

cfbd_metrics_wp():

Get win probability chart data from CFBD API.

Details

Get team game averages for predicted points added (PPA)

  cfbd_metrics_ppa_games(year = 2019, team = "TCU")

Get player game averages for predicted points added (PPA)

  cfbd_metrics_ppa_players_games(year = 2019, week = 3, team = "TCU")

Get player season averages for predicted points added (PPA)

  cfbd_metrics_ppa_players_season(year = 2019, team = "TCU")

Get team averages for predicted points added (PPA)

  cfbd_metrics_ppa_teams(year = 2019, team = "TCU")

Get pre-game and post-game win probability data from CFBD API

  cfbd_metrics_wp_pregame(year = 2019, week = 9, team = "Texas A&M")
  cfbd_metrics_wp(game_id = 401012356)

Calculate predicted points using down and distance

cfbd_metrics_ppa_predicted(down = 1, distance = 10)

cfbfastR documentation built on June 14, 2022, 1:05 a.m.