Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repository URL are not datapackage URL directory #113

Open
femtotrader opened this issue Sep 15, 2015 · 2 comments
Open

repository URL are not datapackage URL directory #113

femtotrader opened this issue Sep 15, 2015 · 2 comments

Comments

@femtotrader
Copy link
Contributor

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 with gh-page should be given (most of data being False)

An other approach could be to have an other column with datapackage.json URL (when URL can't be found obviously)

Kind regards

@femtotrader
Copy link
Contributor Author

An example of the problem with https://github.com/theodi/hot-drinks

DataPackage Viewer is not able to "discover" data without a "full" URL

http://data.okfn.org/tools/view?url=https%3A%2F%2Fraw.githubusercontent.com%2Ftheodi%2Fhot-drinks%2Fgh-pages%2Fdatapackage.json

@femtotrader
Copy link
Contributor Author

My opinion is, in fact, that an other column "branch" is necessary.
branch could be "master" or "gh-pages"

@stellamarissb stellamarissb added this to Misc. in Concierge Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Misc.
Development

No branches or pull requests

2 participants