(build-export-suffix url data-format & [export-options])
Build the export options string to pass to the Ona API.
Build the export options string to pass to the Ona API.
(delete-export export-id)
Delete an export based on an export id
Delete an export based on an export id
(get-async-export-data dataset-id fmt http-method & args)
Returns a channel, which will have the async data downloaded using http-method when ready.
Returns a channel, which will have the async _data_ downloaded using http-method when ready.
(get-async-export-url dataset-id data-format)
Returns a channel, which will have the async export url when ready.
Returns a channel, which will have the async export url when ready.
(get-exports-per-form dataset-id)
Get exports based on a form id.
Get exports based on a form id.
(monitor-async-exports-per-form! dataset-id callback)
Repeatedly polls the export endpoint given a form_id while any of the export status is pending.
Repeatedly polls the export endpoint given a form_id while any of the export status is pending.
(trigger-async-export! dataset-id
&
[{:keys [data-type data-format export-options on-job-id
on-export-url on-error on-done]}])
Triggers async export and watches it via polling. Fires on-job-id callback on receving :job_uuid from server, then monitors job via polling. On receiving :export_url from server, on-export-url fired.
Triggers async export and watches it via polling. Fires on-job-id callback on receving :job_uuid from server, then monitors job via polling. On receiving :export_url from server, on-export-url fired.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close