get_team_stats: Team Stats Function

get_team_statsR Documentation

Team Stats Function

Description

This function takes in pbp data and calculates team level stats

Usage

get_team_stats(play_by_play_data = NA, include_transition = F)

Arguments

play_by_play_data

data frame consisting of play-by-play data from the functions scrape_game() or get_play_by_play()

Value

data frame with each row representing a team


jflancer/bigballR documentation built on March 1, 2025, 3:57 a.m.