Closed moodymudskipper closed 4 years ago
This would be similar to recast but hopefully clearer.
It can be done by reshaping long then wide, which is two lines with tb, but as a user we really visualize a transposition :
incoming_record <- wrapr::qchar_frame( "Test" , "Fall" , "Spring" , "Winter" | "1" , Fall1 , Spring1 , Winter1 | "2" , Fall2 , Spring2 , Winter2 ) incoming_record outgoing_record <- wrapr::qchar_frame( "Time" , "Test1" , "Test2" | "Fall" , Fall1 , Fall2 | "Spring" , Spring1 , Spring2 | "Winter" , Winter1 , Winter2 )
Can be a formula, one side is column selection of varying columns, and other is the key column. No aggregation or fancy things here. The name of the new key column can be determined by glue name.
This would be similar to recast but hopefully clearer.
It can be done by reshaping long then wide, which is two lines with tb, but as a user we really visualize a transposition :
Can be a formula, one side is column selection of varying columns, and other is the key column. No aggregation or fancy things here. The name of the new key column can be determined by glue name.