scrape_season_per_game: Scrape player per game statistics for a given season.

Description Usage Arguments Value

View source: R/scrape_season.R

Description

This function scrapes the per game player statistics for a single season.

Usage

1

Arguments

year

The year that the season in question finished. i.e. 2015 would return the statistics for the season 2014-15.

Value

A tibble with a row for each player.

The fields are:

Season

The season these statistics are for

Player

Player name

PlayerId

https://www.basketball-reference.com/ player page identifier

Pos

Position

Age

Age of player at the start of February 1st of that season

Tm

Team

G

Games

GS

Games started

MP

Minutes played

FG

Field goals per game

FGA

Field goal attempts per game

FG%

Field goal percentage

3P

3-point field goals per game

3PA

3-point field goal attempts per game

3P%

Field goal percentage on 3-point field goal attempts

2P

2-point field goals per game

2PA

2-point field goal attempts per game

2P%

Field goal percentage on 2-point field goal attempts

eFG%

Effective field goal percentage

FT

Free throws per game

FTA

Free throw attempts per game

FT%

Free throw percentage

ORB

Offensive rebounds per game

DRB

Defensive rebounds per game

TRB

Total rebounds per game

AST

Assists per game

STL

Steals per game

BLK

Blocks per game

TOV

Turnovers per game

PF

Personal fouls per game

PS/G

Points per game


bobbyingram/bballR documentation built on Dec. 11, 2019, 9:52 a.m.