A data resource has a data location specified here:
https://specs.frictionlessdata.io/data-resource/#data-location
There are datasets where a series of files need to be bundled in a .zip file. This is for practical reasons, limitations in the publishing platforms or just the way that the original data was provided.
One example in Zenodo: https://zenodo.org/record/3247384#.XrlxUmhb-gp
There is one file: https://zenodo.org/record/3247384/files/Sea-Bird_Processed_Data.zip
with a series of files inside.
So, the question is: how to use:
{
"profile": "data-package",
"resources": [
{
"path": "https://zenodo.org/record/3247384/files/Sea-Bird_Processed_Data.zip", # need to specify the file
}
]
}
Note: obviously it doesn't need to be a .zip file but any other archiving or compressing formats (.tar, .tar.bz2, .7z, etc.)
Solution (update from Rufus)
It looks like we are inclining to have a resources array inside the resource.
A data resource has a data location specified here:
https://specs.frictionlessdata.io/data-resource/#data-location
There are datasets where a series of files need to be bundled in a .zip file. This is for practical reasons, limitations in the publishing platforms or just the way that the original data was provided.
One example in Zenodo: https://zenodo.org/record/3247384#.XrlxUmhb-gp
There is one file: https://zenodo.org/record/3247384/files/Sea-Bird_Processed_Data.zip
with a series of files inside.
So, the question is: how to use:
Note: obviously it doesn't need to be a .zip file but any other archiving or compressing formats (.tar, .tar.bz2, .7z, etc.)
Solution (update from Rufus)
It looks like we are inclining to have a resources array inside the resource.