Description Usage Arguments Value Examples
View source: R/wrapper_utils.R
Gets player gamelogs object from from MySportsFeeds version 2.0 API
1 | msf_seasonal_player_stats_totals(league, season, verbose)
|
league |
the league to fetch |
season |
the season to fetch |
verbose |
print status info |
a list of two items
status_code the HTTP status code (200 for success, -200 for HTTP success but no data)
response if status_code == 200, a player_stats_totals
object; otherwise, the raw text.
1 2 3 4 5 | ## Not run:
nba_player_totals <- dfstools::msf_seasonal_player_stats_totals(
season = "current", league = "nba", verbose = TRUE
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.