{"id":22231218,"url":"https://github.com/jneidel/nationalities","last_synced_at":"2025-03-25T09:12:13.170Z","repository":{"id":187161772,"uuid":"676410836","full_name":"jneidel/nationalities","owner":"jneidel","description":"Dataset of 100 common nationalities","archived":false,"fork":false,"pushed_at":"2023-08-14T13:59:15.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T15:59:56.529Z","etag":null,"topics":["data","dataset","json","nationalities","nationality","opendata"],"latest_commit_sha":null,"homepage":"","language":null,"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/jneidel.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}},"created_at":"2023-08-09T06:23:46.000Z","updated_at":"2023-08-09T06:33:31.000Z","dependencies_parsed_at":"2023-08-09T08:10:45.012Z","dependency_job_id":"90cc00ca-edbf-422a-a1e8-9c5e3bbf0160","html_url":"https://github.com/jneidel/nationalities","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"170cfc4e42b2d8565bdc5df022c891b6867dd956"},"previous_names":["jneidel/nationalities"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jneidel%2Fnationalities","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jneidel%2Fnationalities/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jneidel%2Fnationalities/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jneidel%2Fnationalities/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jneidel","download_url":"https://codeload.github.com/jneidel/nationalities/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245431733,"owners_count":20614184,"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":["data","dataset","json","nationalities","nationality","opendata"],"created_at":"2024-12-03T01:20:07.072Z","updated_at":"2025-03-25T09:12:12.571Z","avatar_url":"https://github.com/jneidel.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nationalities\n\n\u003e Dataset of 100 common nationalities\n\n## Data\n\n### `nationalities-common`\n\n[![](https://img.shields.io/badge/nationalities-145-brightgreen.svg?style=flat-square)](nationalities-common.txt)\n\nHandpicked dataset of nationalities you will know (western perspective).\n\nSee: [`txt`](nationalities-common.txt), [`json`](nationalities-common.json)\n\n### `nationalities-unfiltered`\n\n[![](https://img.shields.io/badge/nationalities-217-brightgreen.svg?style=flat-square)](nationalities-unfiltered.txt)\n\nUnfiltered list of nationalities that includes:\n\n- country names that double as nationalities (like Luxemburg)\n\nSee: [`txt`](nationalities-unfiltered.txt), [`json`](nationalities-unfiltered.json)\n\n## Source\n\nThe orignal data source is: [faru-khan/countries_nationalities_en_ar](https://github.com/faru-khan/countries_nationalities_en_ar)\n\n## See also\n\nMore datasets:\n\n- [animal names](https://github.com/jneidel/animal-names)\n- [job titles](https://github.com/jneidel/job-titles)\n\n## Transforms\n\nThese are the transfomations I applied to the data (along with some manual picking out.)\n\nTo get `nationalities-unfiltered.txt` from the source file:\n\n```sh\n\u003cSOURCE jq \".[].nationality_en\" $INPUT | cut -d\\\" -f2 | grep -ve \" or \" -e \" and \"\n```\n\nFrom `txt` to `json`:\n\n```sh\n\u003cFILE.txt awk -F@ 'BEGIN { print \"[\" } { print \"  \\\"\"$1\"\\\",\" }' | sed '$ s/,$/\\n]/'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjneidel%2Fnationalities","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjneidel%2Fnationalities","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjneidel%2Fnationalities/lists"}