datasets / un-locode

United Nations Codes for Trade and Transport Locations (UN/LOCODE) and Country Codes
https://datahub.io/core/un-locode
146 stars 56 forks source link

[fix][xl] Fixing the workflow in the dataset #33

Closed gradedSystem closed 3 weeks ago

gradedSystem commented 1 month ago

Changes made

cc @anuveyatsu @sabas

gradedSystem commented 1 month ago

hi @sabas can you confirm this looks fine?

sabas commented 1 month ago

Thanks, questions:

gradedSystem commented 1 month ago

Thank you for reviewing @sabas :

  1. Yes i can remove the quotation marks
  2. As for the automation it could be done in .github/workflows I will adjust this PR to the latest changes #31
  3. I will fix the script and add subdivision codes
gradedSystem commented 4 weeks ago

@sabas With my latest script I handled the case that you mentioned

  1. Quotation marks removed from .csv files
  2. I will update the script #31 and automate updating the mdbtools and others
  3. Subdivision codes now should have SUType column
sabas commented 3 weeks ago

@gradedSystem please fix the latest outstanding issue in subdivision file and it'd be good to merge Build failed currently as requirements.txt is in this PR

gradedSystem commented 3 weeks ago

@sabas Fixed down the code with the latest oustanding issue #32

sabas commented 3 weeks ago

I don't get it, I asked to change subdivision NA issue..

gradedSystem commented 3 weeks ago

Hi @sabas, I thought that when you said latest oustanding issue it was one that was mentioned here: #32 If I understood you correctly you are saying to fix the issues when SUCode has a missing value?

sabas commented 3 weeks ago

@gradedSystem see the notes I added in subdivision-codes, the script omits NA in the fields, and the name has spaces that can be trimmed

gradedSystem commented 3 weeks ago

@sabas should I keep the function which addresses latest oustanding issue? this one #32 that converts coordinates.

btw I fixed down the subdivision NA issue just waiting your response for above question.

gradedSystem commented 3 weeks ago

@sabas fixed the issue

sabas commented 3 weeks ago

@sabas should I keep the function which addresses latest oustanding issue? this one #32 that converts coordinates.

btw I fixed down the subdivision NA issue just waiting your response for above question.

Sorry, I got it now, No please keep them as in the original dataset, conversion shall be done downstream

gradedSystem commented 3 weeks ago

@sabas Ok got it i will remove the function for conversion and I think it is good to go

gradedSystem commented 3 weeks ago

@sabas should be fixed now