plot_user_waiver_budget {sleeperapi} | R Documentation |
Plot User Waiver Budget
Description
Given the league ID and display name, plot the current waiver budget for the user (meaning total waiver budget available versus how much the user has remaining).
Usage
plot_user_waiver_budget(
league_id,
display_name,
title = "<b> Waiver Budget</b>",
tick_color = "black",
budget_total_line_color = "black",
fill_color = "lightgreen"
)
Arguments
league_id |
League ID assigned by Sleeper (numeric). |
display_name |
Display name created by user (string). |
title |
Title for plot, which can include HTML formatting (string). |
tick_color |
Font color, name or hex, for display names (string). |
budget_total_line_color |
Line color for max budget, name or hex (string). |
fill_color |
Fill color for bar, name or hex (string). |
Value
Returns a plot containing the waiver budget status.
Author(s)
Nick Bultman, njbultman74@gmail.com, January 2024
Examples
## Not run: plot_user_waiver_budget(688281863499907072, "njbultman74")
[Package sleeperapi version 1.1.1 Index]