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
Both are malie-city entries and I'm not sure how they differ. I've opened a PR that proposes to delete out location/1045 , by doing so all (region_id , identifier) are unique in locations.csv , as currently the only dupe pair is the above, which does lead me to believe its a duplicate data entry.
Thanks,
Omar
The text was updated successfully, but these errors were encountered:
Both are malie-city entries and I'm not sure how they differ.
The handful of region 7 entries at the end of locations.csv are intended to refer to their manifestations in Ultra Sun/Moon, and they do all appear to be distinct from their corresponding Sun/Moon entries, with the differences having to do with the Pokémon available to catch and/or the trainers available for battle.
malie-city is the only one that tripped your uniqueness check because the others have specific areas tacked on in the Sun/Moon case (cf. hauoli-city vs. hauoli-city--marina).
I suppose the fix would be to change the region column to (or add) a version column. It's not clear whether that would be worthwhile for just these few locations, but it may be the case that there are plenty of others to which this distinction would apply.
Renaming id=768 to malie-city--proper seems like a decent middle-of-the-road solution.
Hi!
I've noticed that on locations data - https://pokeapi.co/api/v2/location - all generation + name combinations are unique except for id=768 and id=1045
https://pokeapi.co/api/v2/location/768
https://pokeapi.co/api/v2/location/1045
Both are malie-city entries and I'm not sure how they differ. I've opened a PR that proposes to delete out location/1045 , by doing so all (region_id , identifier) are unique in locations.csv , as currently the only dupe pair is the above, which does lead me to believe its a duplicate data entry.
Thanks,
Omar
The text was updated successfully, but these errors were encountered: