to generate high quality reports based on KoboToolBox submissions, it might be necessary to:
have labels / full text of questions (right now, we return the column names set via the Data column name field in each question's settings), for example for plot titles
have full text of answer options, e.g. "No, not yet" instead of "no_not_yet" etc.
have translations of both elements in case it's a multilingual survey and the user wants to do reports in multiple languages
Problem:
to generate high quality reports based on KoboToolBox submissions, it might be necessary to:
Data column name
field in each question's settings), for example for plot titlesCurrent solution:
followed by custom data wrangling (example here: https://gist.github.com/friep/bf091c471b13589214612017a4dcc502 )
Proposed solution:
get_question_labels
andget_answer_options
(better names welcome) attached toAsset
or toKobo
(withsurvey_id
as argument)