Check this out. https://github.com/factbook/factbook.json it has all data in json - I recommend using nosql database for importing. They also offer sql dump https://github.com/factbook/factbook.sql CSV with facts. https://github.com/factbook/factbook.csv