6

I've already tried ckanapi's dump datasets but it seems it only downloads the metadata. Is there a command that downloads the datasets referenced in the download_url field? I can script a download script if needed but I first want to know if it's supported in the API.Thanks!

5

This is not supported by the CKAN API, so you would need to script it.

  • 1
    If CKAN is like other systems I'm familiar with, it only supports access to the metadata, and not the data itself. The common procedure is to use the API to identify the objects of interest, get their URL (or otherwise make the request for the object; if may be nearline or offline and need to be staged for access), then you retrieve the data outside of the API. – Joe Oct 27 '14 at 15:04
  • This answer shows some Python for downloading via the web UI (using requests). – Chris Dec 22 '17 at 10:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.