ckanapi icon indicating copy to clipboard operation
ckanapi copied to clipboard

ckanapi.dump.create_datapackage() does not produce spec-compliant data resources

Open chbrown opened this issue 8 years ago • 0 comments

From the data-package spec:

Resources in a Data Package are declared on the resources property, which is an array of Data Resource objects.

And the data-resource spec says:

At a minimum, a Data Resource requires a name property and a data property. name provides a human- and machine-readable identifier for the Data Package. data is an array of URIs to data.

I'm not sure what they mean by "an array of URIs to data", but it's clear that what ckanapi calls path should be called data to comply with the spec.

chbrown avatar Mar 04 '17 01:03 chbrown