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

rename certain players with duplicate names #512

Merged
merged 2 commits into from
Sep 1, 2022

Conversation

jack89roberts
Copy link
Contributor

@jack89roberts jack89roberts commented Aug 29, 2022

To avoid errors when replaying seasons, rename certain players in historic data (in player_history_wxyz.json files) to avoid confusing the data of two different players.

Creates a (manually maintained) file "duplicate_player_names.csv", which contains the IDs of players in a given season, and what they will be renamed to. By convention chosen to rename the player least likely to re-appear in FPL, and used their full name as written on Wikipedia.

Closes #351

[#351] To avoid errors when replaying seasons, rename certain players in historic data (in player_history_wxyz.json files) to avoid confusing the data of two different players.
@jack89roberts jack89roberts merged commit 5d3062c into develop Sep 1, 2022
@jack89roberts jack89roberts deleted the fix/351-duplicate-names branch September 1, 2022 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant