Clean and Define - Introduction

The Clean and Define tool can be used for following operations:

  • Select and/or create the questions that the new dataset will contain. 
  • Set values to respondents and fill questions with data based on Clean/Define expressions and optional logical expressions that restrict which respondents the operation will affect
  • Perform sample weighting
The Clean and Define tool and its operations are described by XML code where the root element is called  cdef and the operations are called  structuregroups and  weights. Any of the operations can be excluded but, if using more than one operation, they have to appear in the sequence above.
<?xml version="1.0" encoding="UTF-8"?> <cdef>    <structure>...</structure>    <groups>...</groups>    <weights>...</weights> </cdef>