plot_league_streaks_table {sleeperapi} | R Documentation |
Plot League Streaks Table
Description
Given the league ID, generate a table showing display names and their associated streaks (2W, 5L, etc.).
Usage
plot_league_streaks_table(
league_id,
font_color = "inherit",
win_streak_font_color = "lightgreen",
lose_streak_font_color = "#f68383"
)
Arguments
league_id |
League ID generated from Sleeper (numeric). |
font_color |
Header font color, hex code or name (string). |
win_streak_font_color |
Font color, hex code or name, for teams with winning streak (string). |
lose_streak_font_color |
Font color, hex code or name, for teams with losing streak (string). |
Value
Returns a table containing display names and their streaks.
Author(s)
Nick Bultman, njbultman74@gmail.com, January 2024
Examples
## Not run: plot_league_streaks_table(688281863499907072)
## Not run: plot_league_streaks_table(688281863499907072, font_color = "red")
[Package sleeperapi version 1.1.1 Index]