{"id":19032150,"url":"https://github.com/plausible/location","last_synced_at":"2026-02-22T23:03:56.072Z","repository":{"id":41698721,"uuid":"436540330","full_name":"plausible/location","owner":"plausible","description":"Elixir package for translating names of ISO3166-1, ISO3166-2 and geoname IDs","archived":false,"fork":false,"pushed_at":"2024-12-09T10:46:02.000Z","size":1952,"stargazers_count":14,"open_issues_count":3,"forks_count":10,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-23T16:52:28.890Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/plausible.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2021-12-09T08:36:38.000Z","updated_at":"2024-11-10T10:06:23.000Z","dependencies_parsed_at":"2025-04-20T06:46:41.612Z","dependency_job_id":null,"html_url":"https://github.com/plausible/location","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/plausible/location","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plausible%2Flocation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plausible%2Flocation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plausible%2Flocation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plausible%2Flocation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plausible","download_url":"https://codeload.github.com/plausible/location/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plausible%2Flocation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259680520,"owners_count":22895199,"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-11-08T21:27:02.803Z","updated_at":"2026-02-22T23:03:51.003Z","avatar_url":"https://github.com/plausible.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Location\n\nElixir library for accessing ISO3166-1 (country) and ISO3166-2 (subdivision) data as well as geoname data for cities. Source data comes from the upstream [debian iso-codes](https://salsa.debian.org/iso-codes-team/iso-codes) package and the [Geonames](http://www.geonames.org/) project.\n\n### Countries\n\nThe data for countries comes primarily from the [debian iso-codes](https://salsa.debian.org/iso-codes-team/iso-codes) package. The data file for that is stored in `priv/iso_3166-1.json`. We do\nmanually add some data that is missing from upstream. Overrides can be found in `priv/override/iso_3166-1.json`\n\n### Subdivisions\n\nThe data for subdivisions comes primarily from the [debian iso-codes](https://salsa.debian.org/iso-codes-team/iso-codes) package. The data file for that is stored in `priv/iso_3166-2.json`. The subdivision names in this file are mostly in local language (i.e. Wien instead of Vienna). English translations are obtained from CLDR and Wikipedia. The translations found in `priv/iso_3166-2.en-translations.json` are used when available instead of the original name.\n\n### Cities\n\nThe data for cities comes from the [geonames](http://www.geonames.org/) project. This project has scripts to download the main `allCountries.txt` file. It is then processed to make it smaller\n(from 1.3GB to about 130MB). Still, the resulting file is quite large so we also provide a city database based on the smaller `cities500.txt` file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplausible%2Flocation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplausible%2Flocation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplausible%2Flocation/lists"}