Skip to content

Support for multipart tabular resources #33

Description

@roll

Overview

Specs-v1 has introduced concept of multipart resources:

{
    "resources": [
        {
             "name" : "name",
             "path": ["chunk1.csv", "chunk2.csv"]
        }
    ]

So if we have:

resource.json

{
  "name" : "name",
  "path": ["chunk1.csv", "chunk2.csv"]
}

chunk1.csv

header1, header2
value1, value2

chunk2.csv

value3, value4

we could get all table rows:

resource = Resource('resource.json')
resource.headers()
# header1, header2
resource.read()
# value1, value2
# value3, value4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions