A cached table of Sleeper NFL players. Will store in memory for each session! (via memoise in zzz.R)
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 × 39
#> player_id player_name pos age team status years_exp yahoo_id
#> <chr> <chr> <chr> <dbl> <chr> <chr> <int> <int>
#> 1 11072 Joshua Pryor DL 23.9 NA Active 0 NA
#> 2 11252 Christian Young DB 23.1 NA Active 0 NA
#> 3 377 Donald Brown RB 36.4 NA Inactive 11 9291
#> 4 11222 Marcus Cooper RB NA NA Active 0 NA
#> 5 7635 Jaelan Phillips LB 24.3 MIA Active 2 NA
#> # ℹ 31 more variables: pandascore_id <lgl>, sportradar_id <chr>,
#> # rotoworld_id <int>, rotowire_id <int>, espn_id <int>, gsis_id <chr>,
#> # fantasy_data_id <int>, swish_id <int>, stats_id <int>, college <chr>,
#> # depth_chart_position <chr>, injury_status <chr>, news_updated <dbl>,
#> # weight <chr>, birth_state <lgl>, number <int>, practice_description <chr>,
#> # hashtag <chr>, birth_date <date>, high_school <chr>, height <chr>,
#> # injury_start_date <lgl>, injury_body_part <chr>, birth_country <lgl>, …
# }