# lukes/ISO-3166-Countries-with-Regional-Codes

ISO 3166-1 country lists merged with their UN Geoscheme regional codes in ready-to-use JSON, XML, CSV data sets

Repository: https://github.com/lukes/ISO-3166-Countries-with-Regional-Codes
Canonical: https://ross.abutalabs.com/products/iso-3166-countries-with-regional-codes
Language: Ruby
License: NOASSERTION
License Family: other
Topics: region-codes, countries, iso, csv, json, xml, dataset, data, iso3166, iso3166-1, iso3166-2
Last push: 2024-06-29T19:44:43+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5613, "days_push": 795, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2469, forks 3275 (observed 2026-08-28T04:06:54.623154+00:00)

## What it is
A dataset merging ISO 3166-1 country and dependent territory codes with UN M49 regional and sub-regional codes, provided in JSON, XML, and CSV formats. Includes full and slim variants, regenerable via a Ruby scraper script.

## Use cases
- get a list of countries with alpha-2 and alpha-3 codes as json
- map country codes to UN regions and sub-regions
- download country list as csv for a dropdown form
- find dependent territories with ISO codes
- populate a country select field with names and numeric codes

## When to choose
- you need ready-to-use country code data including regional codes in JSON, XML, or CSV
- you want a free alternative to buying the official ISO dataset

## When to avoid
- you need authoritative, guaranteed-accurate ISO data for compliance purposes
- you need continuously updated data between releases

## Facets
- artifact type: dataset
- maturity: maintenance
- function: data-science, internationalization, json, csv
- domain: data-science, developer-tools
- platform: cross-platform
- tags: iso-3166, country-codes, un-regional-codes, reference-data, xml, localization

## Member repositories
- lukes/ISO-3166-Countries-with-Regional-Codes (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:54.623154+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:29:10.768921+00:00, confidence not recorded.
  - readme: https://github.com/lukes/ISO-3166-Countries-with-Regional-Codes (fetched 2026-08-28T04:06:54.623154+00:00, sha 22aad3ea65e7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
