Consider the example given in the documentation of datapackage-py, which I reproduce below.
Create two CSV files, data/cities.csv, and data/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)
Consider the example given in the documentation of
datapackage-py
, which I reproduce below.data/cities.csv
, anddata/population.csv
.It would be convenient if
datapackage-r
'sPackage$load
method had equivalent functionality. At the moment, it only accepts JSON descriptors, so cannot read data packages produced bydatapackage-py
(or by the R package itself), in other wordsgives an error. This makes handling data packages difficult.
I mention @sje30 for reference.
Please preserve this line to notify @kleanthisk10 (lead of this repository)