A cached table of Sleeper NFL players. Will store in memory for each session! (via memoise in zzz.R)

sleeper_players()

Value

a dataframe containing all ~7000+ players in the Sleeper database

Examples

# \donttest{ try({ # try only shown here because sometimes CRAN checks are weird x <- sleeper_players() dplyr::sample_n(x,5) }) # end try
#> # A tibble: 5 × 33 #> player_id player_name pos age team status years_exp fantasy_data_id #> <chr> <chr> <chr> <dbl> <chr> <chr> <int> <int> #> 1 6904 Jalen Hurts QB 23 PHI Active 1 21831 #> 2 3255 Kyler Fackrell LB 29.7 LAC Active 5 18016 #> 3 3707 Boston Stiverson G 28.8 NA Inacti… 0 18513 #> 4 7103 Tavien Feaster RB 23.6 ARI Active 1 21850 #> 5 6790 D'Andre Swift RB 22.5 DET Active 1 21684 #> # … with 25 more variables: rotowire_id <int>, sportradar_id <chr>, #> # espn_id <int>, yahoo_id <int>, rotoworld_id <int>, gsis_id <chr>, #> # stats_id <int>, college <chr>, fantasy_positions <chr>, hashtag <chr>, #> # weight <chr>, height <chr>, number <int>, birth_date <date>, sport <chr>, #> # active <lgl>, injury_status <chr>, news_updated <dbl>, #> # depth_chart_position <chr>, depth_chart_order <int>, high_school <chr>, #> # injury_notes <chr>, injury_body_part <chr>, practice_description <chr>, #> # practice_participation <chr>
# }