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}"}}`,
})
);