Open femtotrader opened 8 years ago
An example of the problem with https://github.com/theodi/hot-drinks
DataPackage Viewer is not able to "discover" data without a "full" URL
My opinion is, in fact, that an other column "branch" is necessary. branch could be "master" or "gh-pages"
Hello,
I noticed that it's strange to see how data are given in this repository
For example in
core-list.txt
We can find this repository https://github.com/datasets/gold-prices datapackage can be found in https://raw.githubusercontent.com/datasets/gold-prices/master/ ( see https://raw.githubusercontent.com/datasets/gold-prices/master/datapackage.json )
but some other repository behave differently
https://github.com/theodi/hot-drinks
contains
datapackage.json
but it's available at
https://raw.githubusercontent.com/theodi/hot-drinks/gh-pages/datapackage.json
not
https://raw.githubusercontent.com/theodi/hot-drinks/master/datapackage.json
You might noticed this
gh-pages
That's quite strange and not very convenient if we want to use
datasets/registry
for testing purpose of some datapackage tools.My suggestion is
datapackage URL directory should be given instead of repository URL (ie https://github.com/datasets/gold-prices should be replaced by https://raw.githubusercontent.com/datasets/gold-prices/master/ or https://raw.githubusercontent.com/datasets/gold-prices/master/datapackage.json )
but if there is only an issue with this
gh-page
, an other columns withgh-page
should be given (most of data beingFalse
)An other approach could be to have an other column with datapackage.json URL (when URL can't be found obviously)
Kind regards