Closed TheMathNinja closed 2 months ago
I caught another espn_id issue in load_ff_playerids(
): Ramiz Ahmed's espn_id should be 4266790, not 4243315. He has been wrongly assigned Salvon Ahmed's espn_id. Perhaps this can be caught with an additional check on the creation of this df will be to check for any duplicates in ID in a given platform's numbers.
I'd be glad to submit a PR for this, but I think this lives in dynastyprocess's JSON automated pipeline, so I'm guessing this isn't a simple csv fix like it was in the past with missing_ids.csv.
Both of these should be resolved in dynastyprocess/data's missing_ids.json: https://github.com/dynastyprocess/data/blob/master/files/missing_ids.json
You can manually add new entries at the bottom of the file, ensuring they always have mfl_id
which serves as the primary key.
Is there an existing issue for this?
Have you installed the latest development version of the package(s) in question?
If this is a data issue, have you tried clearing your nflverse cache?
I have cleared my nflverse cache and the issue persists.
What version of the package do you have?
‘1.4.1.0’
Describe the bug
In load_ff_playerids() there is an error in Michael Carter mappings. At the very least, I know MFL and ESPN maps are reversed but I have no idea how far it goes for the other maps and which are which.
Arizona RB Michael Carter should be MFL 15258 and ESPN 4240657 Jets CB Michael Carter should be MFL 15432 and ESPN 4240456
These are currently reversed in load_ff_playerids().
Reprex
Expected Behavior
I was mapping and got weird reversals on these two rather than a match.
nflverse_sitrep
Screenshots
No response
Additional context
No response