ckanapi
ckanapi copied to clipboard
ckanapi.dump.create_datapackage() does not produce spec-compliant data resources
From the data-package spec:
Resources in a Data Package are declared on the
resourcesproperty, which is an array of Data Resource objects.
And the data-resource spec says:
At a minimum, a Data Resource requires a
nameproperty and adataproperty.nameprovides a human- and machine-readable identifier for the Data Package.datais 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.