get_pbp: Get Team Play-by-Play Data

Description Usage Arguments Value

View source: R/get_pbp.R

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

1
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.


KdotHudash/HuddyTest documentation built on Dec. 18, 2021, 3:31 a.m.