Can somebody please help me find a solution.
So what I am trying to do here is to break down a wide table into a 3 column table as such:
- the first column is simply the ID
- The second column is the header of the wide column
- The thirdt column is the value associated to the ID in the relevant column.
for exemple, say that I have a table looking like this:
id first_name last_name
1 John Doe
2 Luke Skywalker
And I would like to make it something like this:
id field value
1 first_name John
1 last_name Doe
2 first_name Luke
2 last_name Skywalker
I am sure that there is a basic function doing that, but I really can't find it... Thanks for your help!