HXL-CPLP / forum

Fórum do Grupo de Usuários do Padrão HXL da Comunidade dos Países de Língua Portuguesa, "HXL-CPLP"
https://github.com/HXL-CPLP/forum/issues
The Unlicense
2 stars 0 forks source link

UN/LOCODE no formato HXL #57

Open fititnt opened 3 years ago

fititnt commented 3 years ago

Este tópico é para discussão/ implementação do UN/LOCODE no formato HXL.

fititnt commented 3 years ago

Captura de tela de 2021-04-28 21-47-41

fititnt@bravo:/workspace/git/EticaAI/HXL-Data-Science-file-formats$ ls -lha ontologia/codicem/locum/un-locode/temp/
total 50M
drwxrwxr-x 2 fititnt fititnt 4,0K abr 28 21:40  .
drwxrwxr-x 3 fititnt fititnt 4,0K abr 28 20:59  ..
-rw-rw-r-- 1 fititnt fititnt  12M dez 10 15:34 '2020-2 UNLOCODE CodeList.mdb'
-rw-rw-r-- 1 fititnt fititnt 219K dez 15 11:34 '2020-2 UNLOCODE SecretariatNotes.pdf'
-rw-rw-r-- 1 fititnt fititnt 6,7M abr 28 21:40  code-list.csv
-rw-rw-r-- 1 fititnt fititnt 6,7M abr 28 21:40  code-list.tmp2.csv
-rw-rw-r-- 1 fititnt fititnt 6,7M abr 28 21:40  code-list.tmp.csv
-rw-rw-r-- 1 fititnt fititnt 2,7M abr 28 21:06  loc202mdb.zip
-rw-rw-r-- 1 fititnt fititnt 8,5M abr 28 21:40 'mdb_2020-2 UNLOCODE CodeList.csv'
-rw-rw-r-- 1 fititnt fititnt 6,7M abr 28 21:40 'mdb_2020-2 UNLOCODE CodeList_out.csv'
-rw-rw-r-- 1 fititnt fititnt 4,9K abr 28 21:40  mdb_CountryCodes.csv
-rw-rw-r-- 1 fititnt fititnt 3,9K abr 28 21:40  mdb_CountryCodes_out.csv
-rw-rw-r-- 1 fititnt fititnt  323 abr 28 21:40  mdb_FunctionClassifiers.csv
-rw-rw-r-- 1 fititnt fititnt  289 abr 28 21:40  mdb_FunctionClassifiers_out.csv
-rw-rw-r-- 1 fititnt fititnt  864 abr 28 21:40  mdb_StatusIndicators.csv
-rw-rw-r-- 1 fititnt fititnt  812 abr 28 21:40  mdb_StatusIndicators_out.csv
-rw-rw-r-- 1 fititnt fititnt 112K abr 28 21:40  mdb_SubdivisionCodes.csv
-rw-rw-r-- 1 fititnt fititnt  85K abr 28 21:40  mdb_SubdivisionCodes_out.csv
-rw-rw-r-- 1 fititnt fititnt  84K abr 28 21:40  subdivision-codes.tmp.csv

The upgstream even had this minor error here

Captura de tela de 2021-04-28 21-48-39

On the https://github.com/datasets/un-locode/ they fixed manually https://github.com/datasets/un-locode/commit/7a69c43f7d8a295f509d6a52dbacf3b403f7c84f.

Ok, I think we may somethimes need to fix these things.

Semi random comment

The unlocode is not as precise (but this seems part of the specification, so it could break a lot of systems). See this discussion here https://github.com/datasets/un-locode/issues/19 and the comment from https://github.com/planemad.

Note to self: we should also add the IATA tables.