Is there an efficient way of transposing huge table in SAS
问题 I have a data set in SAS that I need to transpose. It has the form id date type value and I need to convert it into id date valueoftype1 valueoftype2 ... Is there any efficient way of accomplishing this? My data is huuuge. For example; data one; input ID date type $ value; cards; 1 2001 A 2 1 2002 A 4 1 2001 B 3 2 2001 B 1 2 2002 A 5 2 2002 C 2 2 2003 C 5 3 2001 B 6 4 2002 B 8 4 2003 B 4 4 2001 A 2 ; I wish to convert it in to following form; (last three columns are valA, valB, valC) 1 2001 2