PokeAPI / PokeAPI/pokeapi

Duplicate entry for Malie-City in locations.csv

Open
#1,097 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
5.4k
Forks
1.2k
Avg merge
2d 5h
Merged PRs (30d)
21

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect locations.csv and compare the API records for location IDs 768 and 1045, including their region_id and identifier values. Review the proposed deletion PR and confirm whether the entries are distinct; done means the maintainers accept the correct data change and the duplicate combination is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, databases
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.