{"id":22325157,"url":"https://github.com/vadym-lopatka/all-time-top-countries","last_synced_at":"2026-08-15T19:31:09.271Z","repository":{"id":158954518,"uuid":"631133193","full_name":"Vadym-Lopatka/all-time-top-countries","owner":"Vadym-Lopatka","description":"What countries are always presented at the top of Numbeo's quality life index? ","archived":false,"fork":false,"pushed_at":"2024-02-24T11:26:35.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-13T01:34:22.912Z","etag":null,"topics":["clojure","fun","numbeo","web-sc"],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vadym-Lopatka.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-04-22T03:19:22.000Z","updated_at":"2023-09-10T10:34:24.000Z","dependencies_parsed_at":"2025-09-13T01:21:09.693Z","dependency_job_id":"fdbf4984-01b5-4a93-8398-5be16ec2041b","html_url":"https://github.com/Vadym-Lopatka/all-time-top-countries","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Vadym-Lopatka/all-time-top-countries","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vadym-Lopatka%2Fall-time-top-countries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vadym-Lopatka%2Fall-time-top-countries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vadym-Lopatka%2Fall-time-top-countries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vadym-Lopatka%2Fall-time-top-countries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vadym-Lopatka","download_url":"https://codeload.github.com/Vadym-Lopatka/all-time-top-countries/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vadym-Lopatka%2Fall-time-top-countries/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36696373,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-06T04:43:03.162Z","status":"online","status_checked_at":"2026-08-15T02:00:05.847Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["clojure","fun","numbeo","web-sc"],"created_at":"2024-12-04T02:10:34.350Z","updated_at":"2026-08-15T19:31:09.248Z","avatar_url":"https://github.com/Vadym-Lopatka.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# all-time-top-countries\n\nFrom time to time, Numbeo publishes an index of the highest living standards per country.\nI was curious about which countries always meet the top of the index.\n\nAs Numbeo has no free API to fetch the data, I decided to satisfy my curiosity using web-scrapping tooling and Clojure.\n\n#### To find the constant top countries we should do the next steps:\n- fetch the available periods;\n- download the countries' data for each period;\n- reduce the raw data to key-value pairs like {218,5 =\u003e USA, 220 =\u003e UK..};\n- sort the result, so highest index countries goes first;\n- take the first N countries from the result of the period;\n- only then, determine which countries are present in all final result lists;\n\n#### Used tools:\n- Clojure\n- Enlive web-scrapping library: https://github.com/cgrand/enlive\n\n### How to:\n1. [Install Clojure](https://clojure.org/guides/install_clojure)\n2. `git clone https://github.com/Vadym-Lopatka/all-time-top-countries.git`\n3. `cd all-time-top-countries`\n4. Run: `clojure -X:run-x`\n5. Run with specific top size 15:\n    `clojure -X:run-x :top 15`\n\n### My findings:\n1.  #{\"Denmark\" \"Switzerland\"} - always in top 10\n2. #{\"Australia\" \"Japan\" \"Denmark\" \"Switzerland\" \"Germany\"} - always in top 15\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvadym-lopatka%2Fall-time-top-countries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvadym-lopatka%2Fall-time-top-countries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvadym-lopatka%2Fall-time-top-countries/lists"}