Reference Functions/Helpers

Functions to identify sport and team id’s to use in extraction functions.

sport_code()

Reference Sport ID's

team_mapping()

Team Name to Team ID Reference

Data Functions

Functions to extract data for a given sport/year/team/players

player_stats()

Extract Player Stats for a team, year and sport.

team_stats()

Extract Team Stats for a year and sport.

team_schedule()

Team Schedule and Results

Data

sport_df

Sport Code Reference

year_df

Season Mapping to Years

cfb_play_type_df

College Football Mapping for Play Types

cfb_conf_types_df

College Football Conference

College Football (CFB) Functions - D1

cfb_team_roster_data()

Get a teams full roster

cfb_pbp_data()

Extract CFB Play by Play Data - For both plays and drives This is only for D1 football Data comes from https://api.collegefootballdata.com

cfb_conf_team()

Lists all teams in conference Current support only for D1

cfb_team_talent()

Get composite team talent rankings for all teams in a given year or all rankings from 2015 - 2018

cfb_game_info()

Get information from games (depending on a bunch of parameters) 1 - Game info for all games that year 2 - Game infos for a specific week of games in a year 3 - Game info for one team that year (or a specific week) 4 - Game info for specific conference that year (or a specific week)

.cfb_team_game_by_game()

Extract Team Stats for a CFB team game-by-game for the season

.cfb_team_season()

Extract overall team stats for a CFB team (one season)