sabas
Repos
51
Followers
58
Following
52

Tools to process EDI messages in UN/EDIFACT format

235
73

United Nations Codes for Trade and Transport Locations (UN/LOCODE) and Country Codes

111
46

Estratti OpenStreetMap divisi per comune e regione, disponibili in formato SHP, OSM, PBF

12
5

Events

issue comment
Usage through Webpack: "Error: Can't resolve 'sifter'"

I manually installed the old sifter to make it compile at the moment.

Created at 1 week ago

Add tare to Coparn

Created at 3 weeks ago
FYI - 2022 edition

First -- this is incredible, thanks so much for putting it together! Second, just letting you know that there is a new edition for 2022. Looks like it is already on the WCO site but not yet on Comtrade. Do you have some easy way to create the dataset from the WCO PDFs, or another data source? If not, is there any way I can help?

Created at 3 weeks ago
FYI - 2022 edition

@mikerockett @louispotok fixed by ̀#2

Created at 3 weeks ago
Update harmonized system data for 2022 version

🎉

Created at 3 weeks ago

Update harmonized system data for 2022 version

Move convert.py and make it a little more user friendly

Update link in readme

Merge pull request #2 from hlmartin/master

Update harmonized system data for 2022 version

Created at 3 weeks ago
pull request closed
Update harmonized system data for 2022 version

Hello! This pull request contains the updated dataset for HS 2022.

The canonical source is still the WCO site. However, I was able to find the 2022 version available as JSON on the Comtrade data extraction API. It's not directly linked on the documentation page, but I noticed I could iterate from HS 2012 to HS 2022 by changing the URL:

(HS 2012) https://comtrade.un.org/Data/cache/classificationH4.json (HS 2022) https://comtrade.un.org/Data/cache/classificationH6.json

😅

I've left in my (rather basic) Python conversion script of this classification data to the format used in this dataset, but happy to have that removed if you don't see a use in keeping it around.

Please let me know if there's anything else you'd like from me around this PR. Cheers!

Created at 3 weeks ago

Update to 2022.1

Created at 3 weeks ago
Created at 4 weeks ago
Update harmonized system data for 2022 version

@hlmartin Hi, thank you very much for this!!!

Could you please move the extraction script under a scripts folder like in this other repo https://github.com/datasets/un-locode

Created at 4 weeks ago
Created at 1 month ago
issue comment
Daily challenge with a shareable result

Cool I tried it now :)

Daily #hexapipes puzzle 2022-08-22 Solved it in 03:13 https://hexapipes.vercel.app/daily

Created at 1 month ago

Github actions: Composer & Code-Style

Fix license warning

Fix codestyle

Merge pull request #25 from buffcode/gha-composer

Github actions

Created at 1 month ago
pull request closed
Github actions

This PR includes:

  • Github action for validation of composer.json + PHPUnit tests
  • Github action for codestyle validation via prettier (default rules)
  • Code-style fixes applied by prettier
Created at 1 month ago

fix: Namespace usage

Merge pull request #24 from buffcode/fix/namespace-usage

fix: Namespace usage

Created at 1 month ago
pull request closed
fix: Namespace usage

Missed namespace usages from #22

Created at 1 month ago
Traits PSR-4 violation / inconsistency

The traits directory does not match the PSR-4 naming schema.

Furthermore, the traits use different namespaces:

  • EDI\Generator\traits\VatAndCurrency
  • EDI\Generator\Traits\TransportData

The error can be detected by removing the autoload.classmap configuration from composer.json and running composer dump-autoload -a:

Class EDI\Generator\Traits\ContactPerson located in php-edifact/edifact-generator/src/Generator/traits/ContactPerson.php does not comply with psr-4 autoloading standard. Skipping.                                                                                                                
Class EDI\Generator\Traits\Item located in php-edifact/edifact-generator/src/Generator/traits/Item.php does not comply with psr-4 autoloading standard. Skipping.                                                                                                                                  
Class EDI\Generator\Traits\ItemPrice located in php-edifact/edifact-generator/src/Generator/traits/ItemPrice.php does not comply with psr-4 autoloading standard. Skipping.                                                                                                                        
Class EDI\Generator\Traits\NameAndAddress located in php-edifact/edifact-generator/src/Generator/traits/NameAndAddress.php does not comply with psr-4 autoloading standard. Skipping.                                                                                                              
Class EDI\Generator\Traits\TransportData located in php-edifact/edifact-generator/src/Generator/traits/TransportData.php does not comply with psr-4 autoloading standard. Skipping.         
Created at 1 month ago
Traits PSR-4 violation / inconsistency

Thank you @buffcode ! 🎉

Created at 1 month ago

fix: Rename traits directory to match PSR-4

chore: Remove obsolete classmap configuration

Merge pull request #23 from buffcode/fix/traits-psr-4

Fix traits PSR-4 violations / namespace

Created at 1 month ago
pull request closed
Fix traits PSR-4 violations / namespace

See #22

This PR renames traits to Traits and removes the then obsolete autoload.classmap configuration.

Created at 1 month ago
Created at 1 month ago

Coreor improvement

Merge branch 'master' of https://github.com/php-edifact/edifact-generator

Created at 2 months ago