Closed sabas closed 6 years ago
@sabas brilliant - would you be up for packaging?
I made this, removing the symbols and conversion columns because they had a lot of symbols that broke in the conversion. If it's acceptable I move to the datasets org https://github.com/sabas/unece-units-of-measure
@sabas can you report whether you have validated this i.e. run data validate
on the dataset using the data
command line tool https://datahub.io/docs/features/data-cli
@Mikanebu (and @zelima) can you review @sabas new dataset here and if acceptable let's get it across.
@rufuspollock nice, I didn't know that! I tried but I get the following error
/usr/lib/node_modules/data-cli/node_modules/datahub-client/lib/cat.js:12
const getRows = async (fileOrStream, {sheet}={}) => {
^
SyntaxError: Unexpected token (
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/lib/node_modules/data-cli/node_modules/datahub-client/index.js:1:75)
@sabas Hi! It seems like you're using older NodeJS version - you need version >7.6
.
Thank you @anuveyatsu I upgraded to the latest version @rufuspollock I fixed the json accordingly and validated
@sabas Great! There is one typo in https://github.com/sabas/unece-units-of-measure/blob/83b6ed270f8d44355b800f7a03f27937843e3e35/datapackage.json#L5 (licenses
instead of licensces
). Also, including Preparation
section to readme.md
would be a bonus point. Please, see https://github.com/datasets/pharmaceutical-drug-spending#preparation
Done.
@sabas Thanks!
@zelima It is ready to go under datasets
organization. Do I need to publish it under core
?
cc: @rufuspollock
@Mikanebu yes, let's transfer the ownership and publish under core
@sabas Could you transfer ownership to the datasets org ? I will publish under core
https://github.com/datasets/unece-units-of-measure here it is @Mikanebu
@sabas Well done! 🎆It is available now on https://datahub.io/core/unece-units-of-measure. Also, added into registry https://datahub.io/core/registry. Added description and link to DataHub https://github.com/datasets/unece-units-of-measure.
@sabas awesome work - and you should become an official member of the data curator team and get a badge, see #232
@Mikanebu do you want to close the issue with a FIXED statement?
FIXED, the dataset is live now on DataHub https://datahub.io/core/unece-units-of-measure. Added into datasets org https://github.com/datasets/unece-units-of-measure.
UNECE Recommendation 20 Transform and normalize an Excel file https://www.unece.org/fileadmin/DAM/uncefact/recommendations/rec20/rec20_Rev13e_2017.xls