Skip to content

List of countries and their subdivisions in SQL format (with Ruby code to generate).

Notifications You must be signed in to change notification settings

basicxman/CountriesAndSubdivisions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Takes a semicolon delimited list from http://www.commondatahub.com/live/geography/state_province_region/iso_3166_2_state_codes
and generates an SQL table which contains a comma separated list of subdivisions
within a country.

Selected Columns from CommonDataHub:
~Country Name
~ISO 3166-2 Subvision/State Name

To run,
./generator.rb file_to_process.txt
or
ruby generator.rb file_to_process.txt

About

List of countries and their subdivisions in SQL format (with Ruby code to generate).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages