Closed ChrisH1997 closed 2 years ago
Thanks for bringing this one up.
This has been fixed now - it was caused by the new seasons about to start getting a new URL structure on fbref.
Reach out if the issue persists.
Hey, it seems as if now the same happened for Serie A season 2020/21.
@ChrisH1997 Just pushed a new version of the seasons/leagues metadata this package uses and it should fix the Serie A issue you're having.
Reach out if this isn't the case.
Thanks again
get_season_team_stats(c("ENG", "ESP", "ITA", "GER", "FRA"), "M", c(2018:2021), "1st", "standard")
used to work for all categories. Now it saysScraping season standard stats NOTE: Stat Type 'standard' is not found for this league season. Check https://fbref.com/en/comps/9/Premier-League-Stats to see if it exists. NOTE: Stat Type 'standard' is not found for this league season. Check https://fbref.com/en/comps/12/La-Liga-Stats to see if it exists. NOTE: Stat Type 'standard' is not found for this league season. Check https://fbref.com/en/comps/20/Bundesliga-Stats to see if it exists.
The result includes all four seasons for Ligue 1 and Serie A, but only 2018-2020 for PL, LaLiga and BL.