getPbpStats: Get team statistics from play-by-play data

Description Usage Arguments Value

View source: R/getPbpStats.R

Description

getPbpStats returns boxscore team statistics from play-by-play data.

Usage

1

Arguments

pbp

A play-by-play data frame

Value

A data frame with 2 rows per game and 25 variables: @return A data frame with 4 rows per game and 28 variables:

season

Starting year of the season

game_code

Game code

team_code

Team code.

home

Whether the team was playing at home or not

fg2a

2PA

fg2m

2PM

fg2_pct

2P%

fg3a

3PA

fg3m

3PM

fg3_pct

3P%

fga

FGA

fgm

FGM

fg_pct

FG%

fta

FTA

ftm

FTM

ft_pct

FT%

orb

ORB

drb

DRB

tov

TOV

ast

AST

stl

STL

cpf

Comitted personal fouls

blk

BLK

pts

PTS

poss

Possessions


solmos/euroleaguer documentation built on Jan. 30, 2022, 3:16 p.m.