Collapse
A collapse command summarizes data using aggregation functions applied to data
that may be grouped by one or more variables. The resulting summary data is
represented in a new dataset. See the collapse functions in the Function Library.
Properties
Name |
Type |
|
Description |
OutputDatasetName |
string |
0..1 |
The name of a new, aggregated dataset to be created. |
GroupByVariables |
VariableReferenceBase |
0..n |
Variables used as keys to identify groups. |
AggregateVariables |
Compute |
1..n |
The expressions that compute the aggregations. An aggregation function should be used. |
WeightVariable |
VariableSymbolExpression |
0..1 |
The variable used as a weight in the operation. |
Properties Inherited from CommandBase
Name |
Type |
|
Description |
Command |
string |
1..1 |
The type of command |
SourceInformation |
SourceInformation |
0..n |
Information about the source of the command. |
MessageText |
string |
0..n |
Adds a message that can be displayed with the command. |