scrape_season_totals: Scrape player total statistics for a given season.

Description Usage Arguments Value

View source: R/scrape_season.R

Description

This function scrapes the player statistics totals 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

FGA

Field goal attempts

FG%

Field goal percentage

3P

3-point field goals

3PA

3-point field goal attempts

3P%

Field goal percentage on 3-point field goal attempts

2P

2-point field goals

2PA

2-point field goal attempts

2P%

Field goal percentage on 2-point field goal attempts

eFG%

Effective field goal percentage

FT

Free throws

FTA

Free throw attempts

FT%

Free throw percentage

ORB

Offensive rebounds

DRB

Defensive rebounds

TRB

Total rebounds

AST

Assists

STL

Steals

BLK

Blocks

TOV

Turnovers

PF

Personal fouls

PTS

Points


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