Description Usage Arguments Examples
This function pulls individual player statistics using the Football-Reference player ID as an argument. An ID must be specified as there are no default arguments. Player ID values can be found using the playerid_lookup() function, where you can supply a name to generate a tibble of possible players.
1 | player_stats(id = NULL)
|
ID |
= Football Reference ID |
1 2 | library(rMLS)
player_stats(id ='e0cd04e0')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.