No way of reading ZIP files produced by Python package
Opened this issue · 1 comments
as2875 commented
Consider the example given in the documentation of datapackage-py
, which I reproduce below.
- Create two CSV files,
data/cities.csv
, anddata/population.csv
. - Make a new data package.
package = Package()
- Infer the descriptor.
package.infer('**/*.csv')
- Export the package.
package.save('datapackage.zip')
- Load the package.
package = Package('datapackage.zip')
It would be convenient if datapackage-r
's Package$load
method had equivalent functionality. At the moment, it only accepts JSON descriptors, so cannot read data packages produced by datapackage-py
(or by the R package itself), in other words
dataPackage <- Package.load('datapackage.zip')
gives an error. This makes handling data packages difficult.
I mention @sje30 for reference.
Please preserve this line to notify @kleanthisk10 (lead of this repository)