Coder Social home page Coder Social logo

iso-3166-country-codes's People

Contributors

svish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iso-3166-country-codes's Issues

`number` column data type

First off I want to say thank you for putting this script together. I happen to be in the very same position you found yourself in, luckily you already did the work. Thank you!

I'm not sure what DB you are using but I wanted to mention a couple things and these are nit-picky bordering on the philosophical .

To get right to it, I think the number column on the countries table should be changed to VARCHAR(3) for the following reasons:

  • ZEROFILL is deprecated for the SMALLINT in MySQL 8.0.17
  • The number itself isn't exactly a number it's an assigned 'name' or code, that in some cases contains leading zeroes. To me this infers that it shouldn't be treated as a number, for instance you won't be doing calculations with it.
  • Lastly and this is really more of a discussion; I think using ZEROFILL in order to ensure the data is properly preserved on insert seems wrong, the data is the data and shouldn't be altered by the DB.

I'll be using your script, I really just wanted to say thank you and make that suggestion.

Best regards.

Thanks

Just to say thank you! Was thinking to do the same (scrape Wikipedia) until I found this repo. Very thoughtful of you to share ๐Ÿ™๐Ÿป

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.