Export a choice list
export_choice_listGenerate a structured choice list from a statistical classification at a chosen hierarchy level, requiring one codelist ID to keep answer lists separate for MICS exports.
Instructions
Return a structured choice list at a selected hierarchy level. MICS exports require one codelist_id and never merge unrelated answer lists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | ||
| limit | No | ||
| format | No | xlsform | |
| codelist_id | No | ||
| classification_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| level | Yes | ||
| format | Yes | ||
| warning | No | ||
| codelist_id | No | ||
| option_count | Yes | ||
| codelist_title | No | ||
| classification_id | Yes |