Question: Pivot longer code to solve this? Everything I try doesn't work. Using the date in the image and supposed to pivot the rows and columns

Pivot longer code to solve this? Everything I try doesn't work. Using the date in the image and supposed to pivot the rows and columns of the data so that all
columns are variables of the data. Which is supposed to result in 3 columns -`mode`,`date`, and number of riders in thousands (`thou_riders`).
 Pivot longer code to solve this? Everything I try doesn't work.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!