View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
12149 | Feature requests | RemoteControl | public | 2017-02-22 17:10 | 2017-06-08 13:15 |
Reporter | Jorgensj1972 | Assigned To | |||
Priority | none | Severity | feature | ||
Status | new | Resolution | open | ||
Summary | 12149: add "code" field to list_questions | ||||
Description | I'd like to add the "code" for headers that are generated with the export_responses $sHeadingType = "code" to list_questions. This is important for users wanting to map "nice" looking text for questions to response data (for example, in Shiny R, to populate CheckBoxes that are labelled "Activity" but pass the code "PFWB.PFWB001." see below for an example... in case that doesn't look right, see pastern here: https://paste.fedoraproject.org/paste/L9fIntmpMyjqksr7ySFeOF5M1UNdIGYhyRLivL9gydE= | ||||
Additional Information | I have added the column "code" to illustrate how I'd like list_questions to appear
examples of the column names generated by export_responses are: PFWB.PFWB001. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Story point estimate | |||||
Users affected % | |||||
Here , it's the result you want ? If i understand right : you need export_reponse with EM code (for example) EM code usage TRTMT_TR001 TRTMT_other. And we are unable to use this code when exporting. I think we can set 'extra settings' in RC ? Not the case ? Another solution : create a new export plugin ( it's more a joke but can be easy) : https://github.com/SondagesPro/exportTripleS/blob/master/tripleSHelper.php |
|
I don't fully understand you, sorry. Currently, if I use the RemoteControl API, list_questions does not contain the heading codes which would correspond to the ones you get from RemoteControl API export_responses $sHeadingType = "code" I haven't found 'extra settings' ... |
|
OK, It's right and more : think nyou must have : Question_code (the same than export_response with code do) + the good question type (not T, but F (surely here)) ANd maybe add question header ? Something like this : https://bin.shnoulle.net/?5e2399e6978f526e#x6BHacW85+S0J5kVurGQ/pvtVR0ZFvDcf9Ct19AZadg= |
|
yes, sort of like that. It seems that, at least in my case, exportresponses gives " . " not " " If you create a multiple choice question, you should see the same thing I get with your questions. |
|
I hope that makes it more clear. If you see below, the problem is better illustrated. One shows "nice" looking text (from list_questions) for the checkboxes (but it doesn't work because it hasn't got the correct code). The other example which is not "nice" DOES work because it is using the right codes which correspond to the data table you get from export_responses |
|
Needed : Add 'code' in list_question with same code than export_responses do. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2017-02-22 17:10 | Jorgensj1972 | New Issue | |
2017-02-22 17:58 | DenisChenu | Note Added: 43070 | |
2017-02-22 18:07 | Jorgensj1972 | Note Added: 43073 | |
2017-02-22 18:17 | DenisChenu | Note Added: 43074 | |
2017-02-22 18:24 | Jorgensj1972 | File Added: Screen Shot 2017-02-22 at 5.23.50 pm.png | |
2017-02-22 18:24 | Jorgensj1972 | File Added: Screen Shot 2017-02-22 at 5.22.30 pm.png | |
2017-02-22 18:24 | Jorgensj1972 | Note Added: 43076 | |
2017-02-22 18:31 | Jorgensj1972 | File Added: Screen Shot 2017-02-21 at 1.46.12 pm.png | |
2017-02-22 18:31 | Jorgensj1972 | File Added: Screen Shot 2017-02-21 at 11.33.48 am.png | |
2017-02-22 18:31 | Jorgensj1972 | Note Added: 43078 | |
2017-02-22 19:34 | DenisChenu | Note Added: 43080 | |
2017-06-08 13:15 | arkygeek | Issue Monitored: arkygeek |