Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tm_player_injury_history() returning erroneous records in some cases #375

Closed
JaseZiv opened this issue May 7, 2024 · 0 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@JaseZiv
Copy link
Owner

JaseZiv commented May 7, 2024

As raised by Mark Carey through X DMs, the tm_player_injury_history() results being returned contain incorrect seasons-clubs affected combinations:

packageVersion("worldfootballR")
[1] ‘0.6.5.3’

tm_player_url <- "https://transfermarkt.co.uk/mohamed-salah/profil/spieler/148455"
data <- worldfootballR::tm_player_injury_history(player_urls = tm_player_url)

The above code block returns this. While Mo Salah did play for Fiorentina, he wasn't playing for them during the 23/24 season:

image
@JaseZiv JaseZiv added the bug Something isn't working label May 7, 2024
@JaseZiv JaseZiv self-assigned this May 7, 2024
JaseZiv added a commit that referenced this issue May 7, 2024
@JaseZiv JaseZiv closed this as completed May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant