Closed p-a-s-c-a-l closed 4 years ago
CKANAPI --all and -m parameters not working:
ckanapi action group_package_show id=non-open-data-produced-by-clarity -r https://ckan.myclimateservice.eu/ --all > non-open-data-produced-by-clarity.json
Usage: ckanapi action ACTION_NAME [(KEY=STRING | KEY:JSON | KEY@FILE ) ... | -i | -I JSON_INPUT] [-j | -J] [[-c CONFIG] [-u USER] | -r SITE_URL [-a APIKEY] [-g]] ckanapi load datasets [--upload-resources] [-I JSONL_INPUT] [-s START] [-m MAX] [-p PROCESSES] [-l LOG_FILE] [-n | -o] [-qwz] [[-c CONFIG] [-u USER] | -r SITE_URL [-a APIKEY]] ckanapi load (groups | organizations) [--upload-logo] [-I JSONL_INPUT] [-s START] [-m MAX] [-p PROCESSES] [-l LOG_FILE] [-n | -o] [-qwz] [[-c CONFIG] [-u USER] | -r SITE_URL [-a APIKEY]] ckanapi load (users | related) [-I JSONL_INPUT] [-s START] [-m MAX] [-p PROCESSES] [-l LOG_FILE] [-n | -o] [-qwz] [[-c CONFIG] [-u USER] | -r SITE_URL [-a APIKEY]] ckanapi dump (datasets | groups | organizations | users | related) (ID_OR_NAME ... | --all) ([-O JSONL_OUTPUT] | [-D DIRECTORY]) [-p PROCESSES] [-dqwz] [[-c CONFIG] [-u USER] | -r SITE_URL [-a APIKEY] [-g]] ckanapi delete (datasets | groups | organizations | users | related) (ID_OR_NAME ... | [-I JSONL_INPUT] [-s START] [-m MAX]) [-p PROCESSES] [-l LOG_FILE] [-qwz] [[-c CONFIG] [-u USER] | -r SITE_URL [-a APIKEY]] ckanapi (-h | --help) ckanapi --version
use limit
and rows
done
Create ckanapi export scripts for organisation and/or groups.