plot_trending_players_table {sleeperapi}R Documentation

Plot Trending NFL Player Information in Table

Description

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.

Usage

plot_trending_players_table(
  lookback_hours = 24,
  limit = 10,
  font_color = "inherit",
  drop_fill = "#f68383",
  add_fill = "lightgreen"
)

Arguments

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).

Value

Returns a plot containing information (name and count) about the trending NFL players.

Author(s)

Nick Bultman, njbultman74@gmail.com, February 2024

Examples

## 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")


[Package sleeperapi version 1.1.1 Index]