Structuring Surveys Responses for ReDem Compatibility
A complete guide on how to transform survey responses into ReDem-compatible data points
This guide explains how to format your survey data into structured data points suitable for submission to the addRespondent
endpoint of the ReDem API.
Preparing survey responses for CHS (Coherence Score)
For each CHS data point, all question–answer pairs must be included as separate objects within the interviewData
array. Each object should contain a
questionId
- A unique identifier for the question.question
- The full text of the question, When applicable, include all possible answer options that respondents can choose from to provide full context for the AI.answer
- The respondent’s selected answer(s) or written response.
Recommended formats for different question types
For the most accurate assessments, the AI performs best when it has full visibility into the context of the questionnaire. Therefore, it is recommended to include as much information as possible from the questionnaire.
- Single Choice Questions
Includes dropdowns, radio buttons, yes/no, and Likert scale questions.- Question Field: Provide the question text. If applicable, include all key answer options to give context to the selected response. For Likert scale questions, also include the scale labels in the Question field to ensure clarity.
- Answer Field: Include the respondent’s selected choice as a string or number.
- Multiple Choice Questions
- Question Field: Include the full question text and all possible answer options, separated by commas.
- Answer Field: List all selected options, separated by commas.
- Open-ended question
These collect free-text input from respondents.- Question Field: Include only the question text.
- Answer Field: Record the answer provided by the respondent.
-
Grid (matrix) questions
Grid/matrix questions contain a stem plus multiple row items that share the same answer scale.Transform the grid/matrix stem, row labels and answer scale into a structured object with the following format:
- Emit one object per row item so that each cell becomes its own data point
- Question Field: Concatenate the stem and the row label, separated by a hyphen (-), to form the full question text. Additionally, include all answer scale labels, separated by commas.
- Answer Field: Keep the selected scale label as the answer.
Minimum required formats for different question types
While we recommend the settings from the previous chapter to provide maximum context and achieve precise results, you can also use a simplified version, which does work but may not achieve the same level of accuracy.
- Single Choice Questions
Includes dropdowns, radio buttons, yes/no, and Likert scale questions.- Question Field: Provide the question text.
- Answer Field: Include the respondent’s selected choice as a string or number.
- Multiple Choice Questions
- Question Field: Include the full question text.
- Answer Field: List all selected options, separated by commas.
- Open-ended question
These collect free-text input from respondents.- Question Field: Include only the question text.
- Answer Field: Record the answer provided by the respondent.
-
Grid (matrix) questions
Grid/matrix questions contain a stem plus multiple row items that share the same answer scale.Transform the grid/matrix stem, row labels and answer scale into a structured object with the following format:
- Emit one object per row item so that each cell becomes its own data point
- Question Field: Concatenate the stem and the row label, separated by a hyphen (-), to form the full question text.
- Answer Field: Keep the selected scale label as the answer.