Hello, I have trouble reshaping my panel data and need some help. I work with quarterly data from 1990q1-2019q4, and they are for 37 countries and 19 different indicators.

. Array



I would like to have the dataset in Stata in a format like this Array


Would you please help me with the exact code I need?

Thank you