View source: R/plot_generate_nfl_player_data.R
plot_generate_nfl_player_data | R Documentation |
When using some of the plotting functions, it is recommended to run this function before any plotting begins to ensure the latest player information is present with the package. Per Sleeper, gathering these data should only be done once per day, which is why this is not recommended to implement a call every time to gather player information when a plot is generated. This function will refresh the latest NFL player information and place it in the appropriate place for the plotting functions to grab. Moreover, it will keep that information stored for the duration of the R session.
plot_generate_nfl_player_data()
Returns a message stating if the data refresh was successful or not.
Nick Bultman, njbultman74@gmail.com, September 2023
## Not run: plot_generate_nfl_player_data()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.