jimmyday12 / fitzRoy

A set of functions to easily access AFL data
https://jimmyday12.github.io/fitzRoy
Other
129 stars 27 forks source link

fetch_player_details_footywire() not returning Fremantle player details. #169

Closed mreddoh closed 2 years ago

mreddoh commented 2 years ago

fetch_player_details_footywire() gives an error when looking for Fremantle player details.

example <- fetch_player_details_footywire("Fremantle", current = TRUE)

Returns:

Error in open.connection(x, "rb") : HTTP error 404. x Fetching current player details for Fremantle ... failed


I believe the error is due to the get_team_abrev_footywire() function not including a mapping from "Fremantle" to "fremantle-dockers".