SetDataType
Sets the data type of a variable. Examples:
`
"dataType": "Text",
"subTypeSchema": "Stata 15.1",
"subType": "str1"
`
`
"dataType": "Numeric",
"subTypeSchema": "https://www.ddialliance.org/Specification/DDI-CV/DataType_1.0.html" ,
"subType": "Int"
`
Properties
Name |
Type |
Description |
|
---|---|---|---|
Variables |
0..n |
The variables that will have their type set |
|
DataType |
1..1 |
General type of a variable, e.g. “Text” or “Numeric”. Valid values include: Text, Numeric, Boolean, Date-Time, Factor |
|
SubTypeSchema |
0..1 |
A vendor or standards body with a controlled vocabulary. The value can be a URL. |
|
SubType |
0..1 |
The name used in the associated schema. |
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
SetDataType
Relationships
The following identified item types reference this type.