Recoding

Derived variables

Recode raw answers into export-ready columns — bucket ages into bands, collapse satisfaction codes into top-2-box / bottom-2-box, build composite indices from grids. Authored as named transformations that run at export time.

This page is a placeholder — the full deep-dive lands in the next docs update.

It will cover:

  • The recode block syntax — name, source, transformation
  • Common patterns: age bands, top-2-box / bottom-2-box, NPS calc, composite indices
  • Multi-source recodes (combining several questions into one column)
  • Conditional recodes (different rule for different sub-groups)
  • Cross-link to Recode script patterns for the imperative form
  • How recodes appear in Export