You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some players, player_transfer_history() throws errors. It appears as though when the player retires, or either joins from 'Without Club' or ends up 'Without Club' is handled somewhat differently.
df <- player_transfer_history("https://transfermarkt.com/jack-rodwell/profil/spieler/57079")
Error in data.frame(player_name = as.character(player_name), season = as.character(season), :
arguments imply differing number of rows: 1, 0
This is because of the fact that this player joined his current club from 'Without Club':
The text was updated successfully, but these errors were encountered:
Following your fix of this error, there is now a problem with the country_from and country_to columns being empty or in some cases containing "Without club". The picture below is obtained by running the following code:
The country_from and country_to values are no longer exposed for scraping as they once were. I haven't yet found an elegant solution to fix this so will reopen this issue
There was an issue similar to this (#127).
For some players,
player_transfer_history()
throws errors. It appears as though when the player retires, or either joins from 'Without Club' or ends up 'Without Club' is handled somewhat differently.This is because of the fact that this player joined his current club from 'Without Club':
The text was updated successfully, but these errors were encountered: