The free and premium ESPN stories on given players. A maximum of 50 stories can be returned at a time.

player_news(playerId, parseHTML = FALSE)

Arguments

playerId

A single player ID number.

parseHTML

Should HTML stories be parsed with xml2::read_html()?

Value

A data frame of news stories.

See also

Examples

player_news(playerId = "15847")
#> # A tibble: 13 × 6
#>       id published           type         premium headline                 body 
#>    <int> <dttm>              <chr>        <lgl>   <chr>                    <chr>
#>  1 15847 2024-08-20 15:57:43 Media        FALSE   When should Travis Kelc… "Ste…
#>  2 15847 2024-08-17 23:00:06 Rotowire     FALSE   Kelce caught one recept… "Wha…
#>  3 15847 2024-08-14 10:49:12 Story        TRUE    Fantasy football rankin… "<p>…
#>  4 15847 2024-08-11 02:19:59 Rotowire     FALSE   Kelce brought in his on… "Kel…
#>  5 15847 2024-08-09 16:28:16 Media        FALSE   Should fantasy managers… "Fie…
#>  6 15847 2024-08-09 10:44:21 Story        FALSE   Fantasy football: Eric … "<p>…
#>  7 15847 2024-07-25 20:38:55 Story        FALSE   The top 25 fantasy foot… "<p>…
#>  8 15847 2024-07-11 12:01:39 Story        FALSE   The biggest fantasy foo… "<p>…
#>  9 15847 2024-07-02 17:06:38 Story        FALSE   Draft or pass on these … "<p>…
#> 10 15847 2024-05-01 18:35:46 HeadlineNews FALSE   Travis Kelce wasn't goi… "<p>…
#> 11 15847 2024-04-29 18:36:18 Rotowire     FALSE   Kelce and the Chiefs ag… "The…
#> 12 15847 2024-04-23 18:27:00 Story        FALSE   How Jason Kelce's train… "<p>…
#> 13 15847 2024-04-11 12:00:24 HeadlineNews FALSE   Rees-Zammit reveals tex… "<p>…