nixon1000000
Technical User
Is there an easy way with a SAS data set to take the values from one variable and make them variables containing a value from a second variable? Similar to a what a crosstab query does in MS Access.
The set I am working on has basically 3 variables now:
An identifier, an attribute name, and a value.
There are about 100 different attribute names. What I would like to end up with is a flattened data set with the identifierand the 100 different attribute names as variables with the correct values that correspond to these attributes.
Thanks.
The set I am working on has basically 3 variables now:
An identifier, an attribute name, and a value.
There are about 100 different attribute names. What I would like to end up with is a flattened data set with the identifierand the 100 different attribute names as variables with the correct values that correspond to these attributes.
Thanks.