JaseZiv/worldfootballR

fb_match_results returns wrong season

coxroy opened this issue · 2 comments


for a very particular fb_match_results query, the wrong season is returned

library(worldfootballR)
packageVersion("worldfootballR")

#2023 (incorrect)
per_2023=fb_match_results(country = "PER", gender = "M",season_end_year = 2023, tier = "1st")
glimpse(per_2023) #returned matches have dates in 2024, with Season_End_Year erroneously set to 2023

#2024 (correct)
per_2024=fb_match_results(country = "PER", gender = "M",season_end_year = 2024, tier = "1st")
glimpse(per_2024) #same matches as above, now with correct Season_End_Year

sessionInfo()

This should now be resolved

confirmed. thanks for the fix (and an excellent package)