Requirements
- A *nix environment
- Python 2.7+
- CKANAPI Command line tool
jq
tr
Steps
- Make sure you have the CKANAPI CLI tool installed
- Make sure you have the
jq
andtr
tools installed - Run the command below replacing the properties in UPPERCASE with your own values.
ckanapi dump datasets $(ckanapi -r CKAN_URL action package_search q=organization:AGENCY_ID | jq .results[].name | tr -d '"') -r CKAN_URL -D PATH_TO_FILES