Skip to content

iso 3166-1 country codes in json, yaml, csv, sql, and pickle formats for immediate download

Notifications You must be signed in to change notification settings

nebko16/iso3166

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation


Data last refreshed: 2024-08-19 09:30:21.


This repo is to provide a convenient and quick source for lookup data for `ISO 1366-1` country codes. Most programmatic sources are behind a paywall, and the rest require you to manually parse them.

This data doesn't change too often, so you should be able to just grab one of the files in the data directory (or links below) and be good to go. If you want it to be fresh, you can clone the repo and run the scraper to refresh the files. The data in the current files was updated 2024-08-19 09:30:21.

Scraping is legal, but not always perceived well, so scrape at your own discretion. This ISO data doesn't change often, so scraping at build time is probably as frequent as you'd really need.


JSON



YAML



SQL


DDL

CREATE TABLE iso3166 (
    `country_name` VARCHAR(255),
    `alpha2` CHAR(2),
    `alpha3` CHAR(3),
    `numeric` CHAR(3)
);
    

DML


CSV



Pickle




About

iso 3166-1 country codes in json, yaml, csv, sql, and pickle formats for immediate download

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages