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

Support for multipart tabular resources #33

Open
roll opened this issue Sep 13, 2017 · 4 comments
Open

Support for multipart tabular resources #33

roll opened this issue Sep 13, 2017 · 4 comments
Labels
Milestone

Comments

@roll
Copy link
Member

roll commented Sep 13, 2017

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
@OriHoch OriHoch closed this as completed Nov 30, 2017
@roll
Copy link
Member Author

roll commented Nov 30, 2017

@OriHoch
Great!

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

@roll roll changed the title Do we support multipart resources? Support for chunked tabular resources? Dec 25, 2017
@roll
Copy link
Member Author

roll commented Dec 25, 2017

I've updated the title/description. Re-opening because I'm not sure I had a clearly formulated question at first place.

@roll roll reopened this Dec 25, 2017
@roll roll removed the specs-update label May 20, 2019
@stale
Copy link

stale bot commented Oct 6, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Oct 6, 2019
@roll roll changed the title Support for chunked tabular resources? Support for multipart tabular resources Oct 6, 2019
@stale stale bot removed the wontfix label Oct 6, 2019
@roll roll added feature and removed question labels Oct 6, 2019
@roll roll added feature and removed feature labels Sep 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants