Create quota
create_quotaCap how many completes a group may fill. Demographic cell: quota_type 'gender' + gender (m/f/nb) or quota_type 'age' + age_from/age_to (bound automatically to the standard questions). Own-question cell: conditions [{qid, code}] — conditions on two different questions INTERLOCK (respondent must satisfy all). Limit is in completes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Quota name, e.g. 'Female 25-34'. | |
| age_to | No | With quota_type age. | |
| gender | No | With quota_type gender. | |
| qlimit | Yes | Maximum completes for this cell. | |
| age_from | No | With quota_type age. | |
| survey_id | Yes | Survey id (see list_surveys, or the survey_id returned by a create tool). | |
| conditions | No | Own-question conditions; 2+ questions = interlocked. | |
| quota_type | No | Demographic cell type (omit for own-question cells). |