-
-
Notifications
You must be signed in to change notification settings - Fork 968
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
Fix Gen/Region/Version data inconsistencies for Gen9 #826
Conversation
It seems that @Pythonic-Rainbow has fixed problems in "versions.csv", "version_group_regions.csv" and "generations.csv"... which are the other inconsistencies? |
Yes you're right. Every gen so far has just 1 main region. I thought Hisui is another main region but I did some more research on Bulbapedia and looks like it is just Sinnoh, which is Gen4 main region. Then yeah, my question is invalid. Sorry for the confusion. |
I've also added version names, taken from Bulbapedia. But why are there 3 Japanese locales in https://github.com/PokeAPI/pokeapi/blob/6c3c68a91bb24437f1396c7e3af00d0a9d69a70c/data/v2/csv/languages.csv ? I don't see Roomaji being used anywhere in the csv files, and ID 11 is identical to ID 1 in all the *names.csv that I've found |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Hisui will have no main generation.
I don't have any concerns about this.
I'm a native Japanese. You don't need to set romaji names. ID 1 and 11 are not identical. ID 1 is ja, and ID 11 is ja without Kanji. |
Ah I see. Thanks for the clarification. |
A PokeAPI/api-data refresh has started. In 45 minutes the staging branch of PokeAPI/api-data will be pushed with the new generated data. |
The updater script has finished its job and has now opened a Pull Request towards PokeAPI/api-data with the updated data. |
@Naramsim I'm happy to hear about your offer. I can contribute to this repo. |
Legend Arceus is considered a part of Gen8 on Wikipedia and Bulbapedia. However, it is a special case because it has a different main region from SwSh.
LA is indeed gen8 in version_groups.csv, but some of the data in other csv files are inconsistent. I assume that LA is a part of gen8 in the API. If so, there will be 2 main regions for gen8, but the
/generation
endpoint specifiesmain_region
as a single Region attribute. What are your plans on this problem?Another example is that
/region/9
(LA:Hisui) currently lists gen9 as its main generation, and/region/10
(SV:Paldea) has no main generation. My commit should swap the results, but Hisui will have no main generation.