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: 9 × 6
#>      id published           type         premium headline                  body 
#>   <int> <dttm>              <chr>        <lgl>   <chr>                     <chr>
#> 1 15847 2024-05-01 18:35:46 HeadlineNews FALSE   Travis Kelce wasn't goin… "<p>…
#> 2 15847 2024-04-29 18:36:18 Rotowire     FALSE   Kelce and the Chiefs agr… "The…
#> 3 15847 2024-04-23 21:14:33 Story        FALSE   Max Strus' buzzer-beater… "<p>…
#> 4 15847 2024-04-23 20:44:03 Story        FALSE   Andy Reid misses out on … "<p>…
#> 5 15847 2024-04-23 19:23:08 Story        FALSE   Travis Kelce to executiv… "<p>…
#> 6 15847 2024-04-23 18:27:00 Story        FALSE   How Jason Kelce's traine… "<p>…
#> 7 15847 2024-04-23 18:26:55 Story        FALSE   Travis Kelce, an NFL sea… "<p>…
#> 8 15847 2024-04-11 12:00:24 HeadlineNews FALSE   Rees-Zammit reveals text… "<p>…
#> 9 15847 2024-02-12 04:32:33 Rotowire     FALSE   Kelce recorded nine rece… "Kel…