Description Usage Arguments Value
View source: R/scrape_season.R
This function scrapes the advanced player statistics for a single season.
1 | scrape_season_advanced(year)
|
year |
The year that the season in question finished. i.e. 2015 would return the statistics for the season 2014-15. |
A tibble with a row for each player.
The fields are:
The season these statistics are for
Player name
https://www.basketball-reference.com/ player page identifier
Position
Age of player at the start of February 1st of that season
Team
Games
Player efficiency rating: A measure of per-minute production standardized such that the league average is 15.
True shooting percentage: A measure of shooting efficiency that takes into account 2-point field goals, 3-point field goals, and free throws.
3-point attempt rate: The percentage of field goal attempts taken from 3-point range
Free throw attempt rate: The number of free throw attempts per field goal attempt
Offensive rebound percentage: An estimate of the percentage of available offensive rebounds a player grabbed while he was on the floor
Defensive rebound percentage: An estimate of the percentage of available defensive rebounds a player grabbed while he was on the floor
Total rebound percentage: An estimate of the percentage of available rebounds a player grabbed while he was on the floor
Assist percentage: An estimate of the percentage of team-mate field goals a player assisted while he was on the floor
Steal percentage: An estimate of the percentage of opponent possessions that end with a steal by the player while he was on the floor
Block percentage: An estimate of opponent two-point field goal attempts blocked by the player while he was on the floor
Turnover percentage: An estimate of turnovers committed per 100 plays
Usage percentage: An estimate of the percentage of team plays used by a player while he was on the floor
Offensive win shares: An estimate of the number of wins contributed by a player due to his offense
Defensive win shares: An estimate of the number of wins contributed by a player due to his defense
Win shares: An estimate of the number of wins contributed by a player
Win shares per 48 minutes: An estimate of the number of wins contributed by a player per 48 minutes (the league average is .100)
Offensive box plus/minus: A box score estimate of the offensive points per 100 possessions a player contributed above a league average player, translated to an average team
Defensive box plus/minus: A box score estimate of the defensive points per 100 possessions a player contributed above a league average player, translated to an average team
Box plus/minus: A box score estimate of the points per 100 possessions a player contributed above a league average player, translated to an average team
Value over replacement player: A box score estimate of the points per 100 team possessions that a player contributed above a replacement level (-2.0) player, translated to an average team and prorated to an 82-game season. Multiply by 2.70 to convert to wins over replacement.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.