# mledoze/countries

World countries in JSON, YAML, CSV and XML. Any help is welcome!

Repository: https://github.com/mledoze/countries
Canonical: https://ross.abutalabs.com/products/countries
Homepage: https://mledoze.github.io/countries/
Language: PHP
License: ODbL-1.0
License Family: other
Topics: countries, geojson, topojson, xml, csv, yaml, json, php
Last push: 2026-07-20T13:06:21+00:00

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

## Adoption (not part of the score)
Stars 6255, forks 1281 (observed 2026-08-28T04:09:41.048923+00:00)

## What it is
An open dataset of world countries per ISO 3166-1, distributed in JSON, CSV, XML, and YAML formats with rich attributes like codes, currencies, languages, capitals, borders, and area. It also includes GeoJSON/TopoJSON outlines and SVG flags, packaged for npm and Packagist.

## Use cases
- get a list of all world countries with ISO codes
- country dropdown data for a form
- map ISO country codes to names and currencies
- download country borders as GeoJSON
- find a country's capital, languages, and calling codes
- country flags in SVG for an app

## When to choose
- you need structured, multi-format country reference data
- you want ISO 3166-1 codes plus currencies, languages, and borders in one dataset
- you need GeoJSON outlines or SVG flags

## When to avoid
- you need frequently updated demographic or population statistics
- you need postal codes or city-level data
- you need real-time geopolitical status beyond the dataset's snapshot

## Facets
- artifact type: dataset
- maturity: active
- function: data-generation, internationalization, geospatial
- domain: data-science, apis
- platform: cross-platform, python, php
- tags: countries, iso-3166, open-data, geojson, flags, json, csv, yaml, xml, geography, localization, nodejs

## Member repositories
- mledoze/countries (main) score 65

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:41.048923+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-29T17:46:35.464595+00:00, confidence not recorded.
  - readme: https://github.com/mledoze/countries (fetched 2026-08-28T04:09:41.048923+00:00, sha e42c6c17a634)
  - homepage: https://mledoze.github.io/countries/ (fetched 2026-08-29T08:43:11.604863+00:00, sha 67d41ecfa4bf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
