Skip to content

repository URL are not datapackage URL directory #113

@femtotrader

Description

@femtotrader

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Misc.

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions