Description Usage Arguments Value Source Examples
View source: R/cfb_player_usage.R
A player usage function with Year as a required input.
1 2 3 4 5 6 7 8 |
year |
(Integer required, default 2019): Year, 4 digit format (YYYY). |
team |
(String optional): Team - Select a valid team, D1 football |
conference |
(String optional): Conference abbreviation - Select a valid FBS conference |
position |
(string optional): Position of the player you are searching for. |
athlete_id |
(Integer optional): Athlete ID filter for querying a single athlete
Can be found using the |
excl_garbage_time |
(Logical default FALSE): Select whether to exclude Garbage Time (TRUE/FALSE) |
A data frame with 14 variables:
season
integer.
athlete_id
character.
name
character.
position
character.
team
character.
conference
character.
usg_overall
double.
usg_pass
double.
usg_rush
double.
usg_1st_down
double.
usg_2nd_down
double.
usg_3rd_down
double.
usg_standard_downs
double.
usg_passing_downs
double.
https://api.collegefootballdata.com/player/usage
1 | cfb_player_usage(year = 2019, position = 'WR', team = 'Florida State')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.