-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
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