get_pbp: Get Team Play-by-Play Data

View source: R/get_pbp.R

get_pbpR Documentation

Get Team Play-by-Play Data

Description

Scrapes the current season's Play-by-Play data for desired team. Team is assumed to be the ESPN team name, which can be looked up in the ids dataframe.

Usage

get_pbp(team, season = current_season, extra_parse = T)

Arguments

team

Team to get Play-by-Play data for

season

Season for which to get schedule. In form "2019-20". Default equals current season.

extra_parse

Logical whether to link shot variables and possesion parsing (Default = TRUE).

Value

A data frame of the team's Play-by-Play data for the specified season.


lbenz730/ncaahoopR documentation built on March 28, 2024, 6:54 a.m.