-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Issue Type
Incorrect Data (wrong information)
Location (if applicable)
State
What's wrong?
According to the CONTRIBUTING.md:
the documentation states that the population field is expected to be of integer type.
However, based on my review of both the JSON files and the MongoDB dump,
the population field appears to be stored as a string rather than an integer.
This discrepancy seems to occur only in the states dataset.
Example from states.json:
{
"id": 3875,
"name": "Baghlan",
"country_id": 1,
"country_code": "AF",
"country_name": "Afghanistan",
"iso2": "BGL",
"iso3166_2": "AF-BGL",
"fips_code": "03",
"type": "province",
"level": null,
"parent_id": null,
"native": "بغلان",
"latitude": "36.17890260",
"longitude": "68.74530640",
"timezone": "Asia\/Kabul",
"translations": {
"br": "Baghlan",
"ko": "바글란",
"pt-BR": "Baghlan",
"pt": "Baghlan",
"nl": "Baghlan",
"hr": "Baghlan",
"fa": "بغلان",
"de": "Baghlan",
"es": "Baghlan",
"fr": "Baghlan",
"ja": "バグラン",
"it": "Baghlan",
"zh-CN": "巴格兰",
"tr": "Baghlan",
"ru": "Баглан",
"uk": "Баглан",
"pl": "Baghlan",
"hi": "बघ्लन",
"ar": "بغلان"
},
"wikiDataId": "Q170309",
"population": "119607" <- should be integer type
},
What should it be?
The population field should be exported as an integer value rather than a string, in accordance with the documented schema.
Source (optional)
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working