REST Countries repository file src/main/resources/countriesV3.1.json: an array of
250 country records. It is the exact dataset behind the (deprecated) /v3.1 API.
Method
extract_countries.py reads the JSON array and flattens every record to one CSV
row on a fixed 14-column contract. No field contains a comma, so the file is
trivially parseable with any CSV reader.
Verification
verify_extraction.py vs the raw source: PASS
(rows=250 codes=250 source=250).
check_countries.py structural gate: exit 0 (the CHECK line in the final
report; 0 = correct, nonzero = wrong).
Columns (in order)
name_common | name_official | alpha2 | alpha3 | numeric | region |
subregion | capital | population | area_km2 | currencies | languages | tlds | flag
Provenance
SHA-256 of source_countriesV3.1.json: (filled after the run)
Source record count: 250 (distinct ISO 3166-1 alpha-2 codes).