Extract submissions from KoboToolbox
📜 This job is an official example from OpenFn.
Metadata​
- Name: Extract submissions from KoboToolbox
- Adaptor:
@openfn/language-kobotoolbox
- Adaptor Version:
latest
- Created date unknown
- Updated date unknown
- Score: 100 (an indicator of how useful this job may be)
Key Functions​
each
, getForms
Expression​
//Get all Kobo forms/projects, and then get form submissions
//that were submitted after a specific time
cursor($.cursor, { defaultValue: 'today' });
getForms();
each(
$.data,
getSubmissions($.data.uid, {
query: `{"_submission_time":{"$gte":"${$.cursor}"}}`,
})
);