đâ Templates & Codes Guide
This guide explains how to create and use templates and predefined codes to standardize your survey analysis workflow.
Overview
Section titled âOverviewâTemplates and Predefined Codes help you maintain consistency across survey analysis projects:
- Survey Templates â Save analysis settings, questions, and configurations for reuse
- Predefined Codes â Create standardized category codebooks that can be applied across projects
These features are essential for:
- Tracking studies â Ensure consistent coding across survey waves
- Team collaboration â Everyone uses the same categories and settings
- Efficiency â Save time by reusing configurations
- Quality control â Standardize your analysis process
â© Quick How-To
Section titled ââ© Quick How-ToâHow to Create a Survey Template
Section titled âHow to Create a Survey Templateâ- Navigate to Templates from the main menu
- Click New Template
- Enter a name and optional description
- Configure your settings:
- Add questions (manually or import from CSV)
- Set default analysis settings
- Link predefined codes (optional)
- Click Save
How to Create Predefined Codes
Section titled âHow to Create Predefined Codesâ- Navigate to Templates from the main menu
- Switch to the Codes tab
- Click New Codes
- Enter a name and optional description
- Add your codes:
- Enter each code number and description
- Or import from CSV
- Click Save
How to Apply a Template to Analysis
Section titled âHow to Apply a Template to Analysisâ- Upload your survey file
- In the analysis settings, select your template from the dropdown
- Settings and codes from the template are automatically applied
- Adjust any settings if needed
- Run your analysis
Survey Templates
Section titled âSurvey TemplatesâWhat Templates Store
Section titled âWhat Templates StoreâA survey template can include:
| Setting | Description |
|---|---|
| Name | Descriptive name for the template |
| Description | Notes about when/how to use this template |
| Questions | Question IDs and text (for multi-question surveys) |
| Default Codes | Link to a predefined codes set |
| Analysis Settings | Default values for all analysis options |
| Output Column Pattern | Naming convention for result columns |
Template Settings Reference
Section titled âTemplate Settings ReferenceâAnalysis Type
Section titled âAnalysis Typeâ| Option | Description |
|---|---|
survey_open_ended_analysis | General open-ended response coding |
survey_brand_analysis | Brand name identification and coding |
Freeze Codes
Section titled âFreeze Codesâ| Setting | Behavior |
|---|---|
| Off (default) | AI uses predefined codes as a starting point but can create new ones |
| On | AI only uses predefined codes; all other responses go to âOtherâ |
Use âFreeze Codes: Onâ when:
- You have a complete, validated codebook
- Strict consistency is required across studies
- Youâre replicating a specific analysis framework
Other Threshold
Section titled âOther ThresholdâControls when small categories are merged into âOther.â
| Value | Effect |
|---|---|
| 0.01 | Categories with <1% responses â Other |
| 0.04 (default) | Categories with <4% responses â Other |
| 0.10 | Categories with <10% responses â Other |
Small Categories Threshold
Section titled âSmall Categories ThresholdâMinimum number of responses required to keep a category.
| Value | Effect |
|---|---|
| 1 (default) | No minimum â all categories kept (subject to other threshold) |
| 5 | Categories with fewer than 5 responses â Other |
| 10 | Categories with fewer than 10 responses â Other |
Categories Count
Section titled âCategories CountâMaximal number of categories per answer.
| Value | Effect |
|---|---|
| Blank (default) | AI determines optimal count based on response (typically 1 - 3) |
| Specific number | AI does not add more categories than this number |
Answer Column Name
Section titled âAnswer Column NameâDefault column to look for responses in uploaded files.
| Value | Effect |
|---|---|
__USE_SHEET_NAME__ (default) | Uses the Excel sheet name to identify the question |
| Specific column name | Always looks for this column (e.g., âResponseâ, âAnswerâ) |
User ID Column Name
Section titled âUser ID Column NameâDefault column for respondent identifiers.
Output Column Pattern
Section titled âOutput Column PatternâControls how result columns are named in the output file.
Available placeholders:
{QUESTION_ID}â The question identifier (from sheet name or question mapping){CODE_NUMBER}â The category code number
Examples:
| Pattern | Example Output |
|---|---|
Code{CODE_NUMBER} (default) | Code1, Code2, Code3⊠|
{QUESTION_ID}_Code{CODE_NUMBER} | Q1_Code1, Q1_Code2⊠|
{QUESTION_ID}_{CODE_NUMBER} | Q1_1, Q1_2, Q1_3⊠|
Managing Questions in Templates
Section titled âManaging Questions in TemplatesâWhy Add Questions to Templates
Section titled âWhy Add Questions to TemplatesâQuestions in templates help when:
- Your survey has multiple open-ended questions
- You upload Excel files with one question per sheet
- You want consistent question text across analyses
Adding Questions Manually
Section titled âAdding Questions Manuallyâ- Open your template for editing
- In the Questions section, click Add Question
- Enter:
- Question ID â Short unique identifier (e.g., âQ1â, âP5â, âBrand_Awareâ)
- Question Text â The full question as asked in the survey
- Repeat for additional questions
- Save the template
Importing Questions from CSV
Section titled âImporting Questions from CSVâFor surveys with many questions, import from a CSV file:
- Prepare your CSV with two columns:
- First column: Question ID
- Second column: Question Text
Example Excel file:
| Q1 | How satisfied are you with our service? | | Q2 | What did you like most about your experience? | | Q3 | What could we improve? | | Q4 | Would you recommend us to others? Why or why not? |
- In your template, click Import Questions from file
- Select your file
- Review imported questions
- Save the template
Matching Questions to Excel Sheets
Section titled âMatching Questions to Excel SheetsâWhen uploading an Excel file with multiple sheets:
- Name each sheet with the Question ID (e.g., âQ1â, âQ2â)
- The template matches sheet names to question IDs
- The correct question text is automatically applied
Example Excel structure:
- Sheet âQ1â â Contains responses for âHow satisfied are youâŠâ
- Sheet âQ2â â Contains responses for âWhat did you like mostâŠâ
Predefined Codes
Section titled âPredefined CodesâWhat Predefined Codes Are
Section titled âWhat Predefined Codes AreâPredefined codes are category codebooks that you create in advance. They define:
- Code numbers â Numeric identifiers (1, 2, 3âŠ)
- Code descriptions â What each code means (âVery Satisfiedâ, âPrice too highâ, etc.)
When to Use Predefined Codes
Section titled âWhen to Use Predefined Codesâ| Scenario | Benefit |
|---|---|
| Tracking studies | Same codes across multiple waves |
| Team projects | Everyone uses identical categories |
| Regulatory requirements | Standardized coding for compliance |
| Academic research | Replicable, documented coding schemes |
| Client deliverables | Match clientâs existing framework |
Creating Predefined Codes
Section titled âCreating Predefined CodesâManual Entry
Section titled âManual Entryâ- Navigate to Templates â Codes tab
- Click New Codes
- Enter a name (e.g., âSatisfaction Codesâ, âBrand Categories Q3 2024â)
- Add codes one by one:
- Code number: 1
- Description: âVery Satisfiedâ
- Click Add
- Continue until all codes are entered
- Click Save
Import from Excel file
Section titled âImport from Excel fileâFor larger codebooks, import from Excel:
Excel Format:
| Code | Description |
|---|---|
| 1 | Very Satisfied |
| 2 | Satisfied |
| 3 | Neutral |
| 4 | Dissatisfied |
| 5 | Very Dissatisfied |
| 6 | Other |
- Click Import from Excel file in the Codes section
- Select your Excel file
- Review imported codes
- Save
Predefined Codes Best Practices
Section titled âPredefined Codes Best PracticesâCode numbering:
- Use sequential numbers (1, 2, 3âŠ)
- Reserve specific numbers for special categories (e.g., 99 for âOtherâ)
- Be consistent across related code sets
Descriptions:
- Keep descriptions clear and concise
- Avoid ambiguous terms
- Include examples in template description if helpful
Special categories:
- Include âOtherâ for uncategorizable responses
- Include âNoneâ or âN/Aâ if needed
- Consider âDonât Knowâ or âRefusedâ for certain surveys
Linking Templates and Codes
Section titled âLinking Templates and CodesâAttaching Codes to a Template
Section titled âAttaching Codes to a Templateâ- Open your template for editing
- Find the Default Predefined Codes setting
- Select your codes set from the dropdown
- Save the template
Now, when this template is applied to an analysis:
- The predefined codes are automatically used
- Settings like âFreeze Codesâ control how strictly theyâre applied
Using Different Codes for Different Questions
Section titled âUsing Different Codes for Different QuestionsâIf different questions need different codes:
- Create separate code sets for each question type
- Donât attach codes to the template
- Apply codes at the file/sheet level when configuring analysis
Applying Templates and Codes
Section titled âApplying Templates and CodesâWhen Creating Projects
Section titled âWhen Creating Projectsâ- Create a new Survey Analysis project
- Select a template during project creation
- All questions added to the project inherit template settings
Per-Question Overrides
Section titled âPer-Question OverridesâEven with a template applied, you can override settings for individual questions:
- Select the question
- Modify settings as needed
- Changes apply only to that question
Managing Templates and Codes
Section titled âManaging Templates and CodesâEditing
Section titled âEditingâ- Navigate to Templates
- Find your template or code set
- Click Edit
- Make changes
- Save
Note: Changes to templates donât affect already-completed analyses.
Duplicating
Section titled âDuplicatingâTo create a variation of an existing template:
- Open the template
- Click Duplicate
- Rename the copy
- Modify as needed
- Save
Deleting
Section titled âDeletingâ- Navigate to Templates
- Find the item to delete
- Click Delete
- Confirm
Warning: Deleting templates or codes doesnât affect completed analyses, but removes the option for future use.
Team Sharing
Section titled âTeam SharingâTemplates and codes are shared within your team:
- All team members can view and use templates
- Templates are not shared across teams
Troubleshooting
Section titled âTroubleshootingâTemplate Not Applying
Section titled âTemplate Not Applyingâ- Verify the template is selected at project creation
- Check that you saved the template after editing
- Refresh the page and try again
Codes Not Being Used
Section titled âCodes Not Being Usedâ- Ensure âFreeze Codesâ is set appropriately
- Check that codes are linked to the template
- Verify code format is correct (number â description)
Wrong Question Matched
Section titled âWrong Question Matchedâ- Check that Excel sheet names match question IDs exactly
- Question IDs are case-sensitive
- Remove extra spaces from sheet names
Import Failing
Section titled âImport Failingâ- Check CSV is properly formatted (UTF-8 encoding)
- Ensure no extra columns or rows
- Verify no special characters in codes
Frequently Asked Questions
Section titled âFrequently Asked QuestionsâQ: Can I edit a template after using it? A: Yes, but changes only affect future analyses. Past results are unchanged.
Q: Can I share templates with other teams? A: Currently, templates are team-specific. Export your codes as CSV to share with others.
Q: How many codes can I have? A: Thereâs no hard limit, but 50-100 codes is typical. Very large codebooks may impact performance.
Q: Can I use the same codes for multiple templates? A: Yes, code sets can be linked to multiple templates.
Q: What happens if my Excel sheet names donât match question IDs? A: This sheet will be skipped.
Next Steps
Section titled âNext Stepsâ- Return to Survey Analysis Guide to apply your templates
- Review Quick Start Guide for an overview
- Explore Conversation Analysis for interview research