Data scientists can find datasets like Country Codes (ISO 3166) for direct use in machine learning projects. Understanding ISO 3166 Formats
datasets/country-list provides a clean, two-column CSV of names and 2-digit codes.
Offers a Comprehensive Country Codes dataset that aggregates ISO 3166-1 with other useful identifiers like ITU dialing codes and ISO 4217 currency codes.
The most authoritative source for Part 1 (Countries), Part 2 (Subdivisions), and Part 3 (Formerly used) codes. ISO offers a Country Codes Collection specifically for system integration in .csv , .xml , and .xls formats.
lukes/ISO-3166-Countries-with-Regional-Codes includes regional and sub-regional mapping.