Coder Social home page Coder Social logo

pentalpha / ncm_tree Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.15 MB

NCM (Nomenclatura Comum do Mercosul) codes, their descriptions and hierarchy in formats easy to parse.

License: MIT License

Python 100.00%
ncm hs harmonized-system harmonized-products product-classification

ncm_tree's Introduction

NCM Tree

NCM (Nomenclatura Comum do Mercosul) are codes used to classify products in South America. The NCM is an expansion of the Harmonized System (HS), used worldwide. The NCM has a hierarquical structure, with each category being part of a parent category. Each NCM category is represented by a code of 2,4,6 or 8 digits and has a textual description.

Good specifications are not easily available for NCM codes

Unfortunately, official sources do not publish easily parseable files with the codes and their names. No Excel, CSV or JSON is available. There are only code-consult webpages and PDF files.

So I created the parseable NCM files

In order to make development of software who use NCM codes easier, I created this project to scrap and parse the tree of NCM codes, as well as the textual descriptions.

The files:

  • ncms.tsv: The codes, their descriptions and parent codes;
  • ncm_tree.json: The NCM tree edges in JSON format, can be loaded using NetworkX library;

ncm_tree's People

Contributors

pentalpha avatar

Watchers

 avatar  avatar

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.