View source: R/plot_trending_players_table.R
plot_trending_players_table | R Documentation |
Given the number of hours to look back, and a limit of how many players to return, display a figure showing the top additions and drops in a table.
plot_trending_players_table(
lookback_hours = 24,
limit = 10,
font_color = "inherit",
drop_fill = "#f68383",
add_fill = "lightgreen"
)
lookback_hours |
Number of hours to look back (numeric). |
limit |
Number of players returned for add/drop. Should be less than 50 (numeric). |
font_color |
Font color, name or hex (string). |
drop_fill |
Bar color, name or hex, for drops (string). |
add_fill |
Bar color, name or hex, for adds (string). |
Returns a plot containing information (name and count) about the trending NFL players.
Nick Bultman, njbultman74@gmail.com, February 2024
## Not run: plot_trending_players_table(lookback_hours = 24, limit = 10)
## Not run: plot_trending_players_table(lookback_hours = 24, limit = 10, font_color = "white")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.