Recode
Describes recoding values in one or more variables according to a specified mapping.
The Recode command can either describe a recoding of one or more individual variables, or a range of variables. When one or more individual variables are described, a new variable name can be specified. In this case, the original variable is left alone, and a new variable is created with the recoded values.
Properties
Name |
Type |
Description |
|
---|---|---|---|
RecodedVariables |
0..n |
The variables that will have their values recoded. The resulting values may be either stored in the same variable, or a newly created destination variable |
|
RecodedVariableRange |
0..1 |
A range of variables to which the recode rules are applied. The resulting values are stored in the same variable. |
|
Rules |
0..n |
A mapping describing which values will be recoded to which new values |
Properties Inherited from TransformBase
Name |
Type |
Description |
|
---|---|---|---|
ProducesDataframe |
0..n |
Signify the dataframe which this transform produces. |
|
ConsumesDataframe |
0..n |
Signify the dataframe which this transform acts upon. |
Properties Inherited from CommandBase
Name |
Type |
Description |
|
---|---|---|---|
Command |
1..1 |
The type of command |
|
SourceInformation |
0..n |
Information about the source of the command. |
|
MessageText |
0..n |
Adds a message that can be displayed with the command. |
Item Type Hierarchy
- CommandBase
- TransformBase
Recode
Relationships
The following identified item types reference this type.