{"id":13556601,"url":"https://github.com/datasets/world-cities","last_synced_at":"2025-04-08T09:10:38.515Z","repository":{"id":41233156,"uuid":"51628166","full_name":"datasets/world-cities","owner":"datasets","description":"List of major cities of the world as a datapackage","archived":false,"fork":false,"pushed_at":"2025-04-01T01:03:55.000Z","size":836,"stargazers_count":253,"open_issues_count":6,"forks_count":202,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-04-01T08:38:22.413Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://datahub.io/core/world-cities","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datasets.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-13T02:12:24.000Z","updated_at":"2025-04-01T01:03:58.000Z","dependencies_parsed_at":"2024-11-04T06:31:25.671Z","dependency_job_id":"3d955fb7-a8ea-42e2-bb99-5dce68b26b4c","html_url":"https://github.com/datasets/world-cities","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datasets%2Fworld-cities","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datasets%2Fworld-cities/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datasets%2Fworld-cities/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datasets%2Fworld-cities/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datasets","download_url":"https://codeload.github.com/datasets/world-cities/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247809964,"owners_count":20999816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T12:03:55.942Z","updated_at":"2025-04-08T09:10:38.466Z","avatar_url":"https://github.com/datasets.png","language":"Python","funding_links":[],"categories":["Others","others"],"sub_categories":[],"readme":"\u003ca className=\"gh-badge\" href=\"https://datahub.io/core/world-cities\"\u003e\u003cimg src=\"https://badgen.net/badge/icon/View%20on%20datahub.io/orange?icon=https://datahub.io/datahub-cube-badge-icon.svg\u0026label\u0026scale=1.25\" alt=\"badge\" /\u003e\u003c/a\u003e\n\nList of major cities in the world\n\n## Data\n\nThe data is extracted from [geonames][geonames], a very exhaustive list of worldwide toponyms.\n\nThis [datapackage][datapackage] only list cities above 15,000 inhabitants. Each city is associated with its \ncountry and subcountry to reduce the number of ambiguities. Subcountry can be the name of a state (eg in \nUnited Kingdom or the United States of America) or the major administrative section (eg ''region'' in France''). \nSee ``admin1`` field on [geonames website][geonames] for further info about subcountry.\n\nNotice that :\n* some cities like *Vatican city* or *Singapore* are a whole state so they don't belong to any subcountry. Therefore subcountry is ``N/A``.\n* There is no guaranty that a city has a unique name in a country and subcountry (At the time of writing, there are about 60 ambiguities). But for each city, \nthe source data primary key ``geonameid`` is provided.\n\n[geonames]: http://www.geonames.org/\n[datapackage]: http://dataprotocols.org/data-packages/\n\n\n## Preparation\n\n## Preparation\n\n[![Python 3.6](https://img.shields.io/badge/python-3.6-blue.svg)](https://www.python.org/downloads/release/python-360/)\n![.github/workflows/actions.yml](https://github.com/datasets/world-cities/actions/workflows/actions.yml/badge.svg?branch=master)\n\nThis repository uses [dataflows](https://github.com/datahq/dataflows) to process and normalize the data.\n\nYou first need to install the dependencies:\n\n```\npip install -r scripts/requirements.txt\n```\n\nThen run the script\n\n```\npython scripts/process.py\n```\n\n## License\n\nAll data is licensed under the [Creative Common Attribution License][CC] as is the original data from [geonames][geonames]. This means you have to credit [geonames][geonames] when using the data. And while no credit is formally required a link back or credit to [Lexman][lexman] and the [Open Knowledge Foundation][okfn] is much appreciated.\n\nAll source code is licensed under the [MIT licence][mit].\n\n[CC]: http://creativecommons.org/licenses/by/3.0/\n[mit]: https://opensource.org/licenses/MIT\n[geonames]: http://www.geonames.org/\n[pddl]: http://opendatacommons.org/licenses/pddl/1.0/\n[lexman]: http://github.com/lexman\n[okfn]: http://okfn.org/\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatasets%2Fworld-cities","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatasets%2Fworld-cities","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatasets%2Fworld-cities/lists"}