fotmob_get_season_stats() no longer supports 'Expected Goals' as a metric for the EPL
@tonyelhabr
epl_team_xg_2021 <- fotmob_get_season_stats(
country = "ENG",
league_name = "Premier League",
season_name = "2020/2021",
stat_name = "Expected Goals",
team_or_player = "team"
)
Error in g(..1, ..2, ..3) :
`"Expected Goals"` is not a valid `stat_name` for `league_name = "Premier League"` (`league_id = 47`). Try one of the following:
Accurate crosses per match
Accurate long balls per match
Accurate passes per match
Average possession
Big chances created
Big chances missed
Clean sheets
Clearances per match
Expected goals
FotMob rating
Fouls per match
Goals conceded per match
Goals per match
Interceptions per match
Penalties awarded
Penalties conceded
Possession won final 3rd per match
Red cards
Saves per match
Shots on target per match
Successful tackles per match
xG conceded
Yellow cards
fotmob_get_season_stats()
no longer supports 'Expected Goals' as a metric for the EPL@tonyelhabr