Dear Stata Experts,
i have a dataset that looks like this:

What i am trying to achieve is the following structure:
Basically i want to make row names of variable Name to columns, while preserving everything else + adding a new column of existing columns of ZEBRA.
I have tried to use reshape wide to long function, but it seems to produce some awkward results.
Any ideas?
Sincerely,
Pavlo
i have a dataset that looks like this:
What i am trying to achieve is the following structure:
Size | State of construction | Series type | Product name | Product family | Pumping speed max | Hz | Units | PumpModel (column headers) |
3 | B | RH | RH0003B | ZEBRA | 2.4 | 50 | m3/h | RH0003B |
3 | B | RH | RH0003B | ZEBRA | 2.9 | 60 | m3/h | RH0003B |
10 | B | RH | RH0010B | ZEBRA | 8.1 | 50 | m3/h | RH0010BA |
10 | B | RH | RH0010B | ZEBRA | 9.7 | 60 | m3/h | RH0010BA |
10 | B | RH | RH0010B | ZEBRA | 8.1 | 50 | m3/h | RH0010BB |
10 | B | RH | RH0010B | ZEBRA | 9.7 | 60 | m3/h | RH0010BB |
I have tried to use reshape wide to long function, but it seems to produce some awkward results.
Any ideas?
Sincerely,
Pavlo
Comment