plot_trending_players_table: Plot Trending NFL Player Information in Table

View source: R/plot_trending_players_table.R

plot_trending_players_tableR Documentation

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


sleeperapi documentation built on April 3, 2025, 6:13 p.m.