I use R package "limonaid" which provides "limer_call_limer" function where I can pass method and parameters. So I use:
and get a JSON object.
In this JSON I can see that in the "answeroptions" only the 3 items for the second scale are present.
Code:
{
"qid": "65056",
"parent_qid": "0",
"sid": "361177",
"gid": "4184",
"type": "1",
"title": "P26",
"question": "Tabela dwóch skal",
"preg": "",
"help": "",
"other": "N",
"mandatory": "N",
"question_order": "8",
"language": "pl",
"scale_id": "0",
"same_default": "0",
"relevance": "1",
"modulename": ,
"available_answers": {
"1": "Sub1",
"2": "Sub2",
"3": "Sub3"
},
"subquestions": {
"65110": {
"title": "1",
"question": "Sub1",
"scale_id": "0"
},
"65111": {
"title": "2",
"question": "Sub2",
"scale_id": "0"
},
"65112": {
"title": "3",
"question": "Sub3",
"scale_id": "0"
}
},
"attributes": "No available attributes",
"attributes_lang": "No available attributes",
"answeroptions": {
"1": {
"answer": "Odp21",
"assessment_value": "0",
"scale_id": "1",
"order": "1"
},
"2": {
"answer": "Odp22",
"assessment_value": "0",
"scale_id": "1",
"order": "2"
},
"3": {
"answer": "Odp23",
"assessment_value": "0",
"scale_id": "1",
"order": "3"
}
},
"defaultvalue":
}