get_game_ids: Get Team gameIds By Season

View source: R/get_game_ids.R

get_game_idsR Documentation

Get Team gameIds By Season

Description

Scrapes the season schedule for desired team. Team is assumed to be the ESPN team name, which can be looked up in the ids dataframe.

Usage

get_game_ids(team, season)

Arguments

team

(str) Team to get Play-by-Play data for

season

(str) or (int) Season for which to get schedule. In form "2019-20" or "2020". Single number is season of tournament.

Details

Requires use of ESPN oriented team names, found in locally saved file (ids.csv)

Value

A data frame of the team's gameIds data for the specified season.


dhutexas/ncaa_bball documentation built on March 23, 2022, 12:13 p.m.