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

Create datapackage files for import #9

Open
nichtich opened this issue Sep 22, 2024 · 0 comments
Open

Create datapackage files for import #9

nichtich opened this issue Sep 22, 2024 · 0 comments
Labels
question Further information is requested

Comments

@nichtich
Copy link
Contributor

nichtich commented Sep 22, 2024

See https://datapackage.org/recipes/files-inside-archives/#example for an example.

{
  "profile": "data-package",
  "resources": [
    {
      "path": "https://zenodo.org/records/4849646/files/ogi-ogham/ogham-datav1-v1.1.zip",
      "format": "zip",
      "mediatype": "application/zip",
      "bytes": "152930986",
      "hash": "776db7fd75a984dd161aead8d5d99534",
      "resources": [
        {
          "path": "ogi-ogham-ogham-datav1-c458452/rdf/ogham/og_sites_1.ttl",
          "format": "ttl",
          "mediatype": "text/turtle",
          "bytes": 462712
        },
        ...
      ]
    }
  ]
}

File mediatype can be guessed for instance with https://github.com/openpreserve/fido

@nichtich nichtich added the question Further information is requested label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant