The latest version of CKAN supports package_patch, but OpenDataPhilly uses v2.2.1. So we have to use package_show, apply our updates to the result, then use package_update.
It would also be nice to be able to specify which CKAN dataset to update (put its slug as a param). Though I suppose we should keep those in Benny anyway.
The latest version of CKAN supports
package_patch
, but OpenDataPhilly uses v2.2.1. So we have to usepackage_show
, apply our updates to the result, then usepackage_update
.Something like:
With this, we should be able to do something like:
(CKAN host and API key will be in
.env
)It would also be nice to be able to specify which CKAN dataset to update (put its slug as a param). Though I suppose we should keep those in Benny anyway.