Learn R Programming

toRvik (version 1.1.1)

bart_team_shooting: Get Team Shooting Splits

Description

Returns team shooting totals and shares by shot location. Data returns back to 2010.

Usage

bart_team_shooting(year = current_season(), conf = NULL, team = NULL)

Value

Returns a tibble with 20 columns:

team

character.

seed

double.

conf

character.

dunk_fg

character.

dunk_share

double.

dunk_fg_d

character.

dunk_share_d

double.

close_fg

character.

close_share

double.

close_fg_d

character.

close_share_d

double.

far_fg

character.

far_share

double.

far_fg_d

character.

far_share_d

double.

three_fg

character.

three_share

double.

three_fg_d

character.

three_share_d

double.

year

double.

Arguments

year

Filters to year

conf

Filters to conference

team

Filters to team

Details

`x_share` represents the percentage of made FGs that fall under that category.

Examples

Run this code
try(bart_team_shooting(year=2019))

Run the code above in your browser using DataLab