Closed pradhann closed 5 years ago
Thanks for the note. the url command shouldn't make difference, perhaps there was an issue with the restructure API at the moment.
If you are still experiencing the issue, please produce a minimum reproducible example.
Issue no longer relevant given package updates. Please open a new issue with a reprex if the issue persists.
get_player_hist results in a parsing error.
The error can be fixed by removing url in
fplboot <- jsonlite::fromJSON(url(paste("https://fantasy.premierleague.com/api/element-summary/",elements$id[i],sep="")))$history_past