Description Usage Arguments Functions Examples
If you provide multiple seasons it will execute with a delay between each query. This is to ensure you obey limit rates but you are free to lower the parameter if you don't think your queries will reach the throttle limits.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | msf_by_season(feed, sport, season = "current", delay = 1)
active_players(sport, ...)
conference_team_standings(sport, ...)
cumulative_player_stats(sport, ...)
division_team_standings(sport, ...)
full_game_schedule(sport, ...)
latest_updates(sport, ...)
overall_team_standings(sport, ...)
player_injuries(sport, ...)
playoff_team_standings(sport, ...)
|
feed |
feed to request |
sport |
mlb | nfl | nba | etc.. |
season |
ex. 2017-regular | current |
delay |
number of seconds between queries |
... |
additional parameters passed to |
active_players
: List of active players
conference_team_standings
: A list of ranked team standings for each Conference, along with stats.
cumulative_player_stats
: A list of player stats totals for all roster players, summarized by their latest team.
division_team_standings
: A list of ranked team standings for each Division, along with stats.
full_game_schedule
: A list of all games to be played for the entire season.
latest_updates
: This feed lists the last updated date/time for each available feed.
overall_team_standings
: A list of ranked team standings for ALL teams, along with stats.
player_injuries
: A list of all currently injured players.
playoff_team_standings
: A list of playoff-ranked team standings for each Conference, along with stats.
1 2 3 4 5 6 | ## Not run:
resp <- active_players("nba")
resp <- full_game_schedule("nfl", c("2017-2018-regular", "2016-2017-regular"), delay = 3)
resp <- player_injuries("nhl", "2016-2017-regular")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.