I have big trouble with my panel dataset. For each of my countries and years, I have multiple variables in different rows.
For example one of my variable is called government_level. In the same column different levels of government are displayed accordingly.
For that reason my country and year are not unique as there are seperare rows such as "Austria, 1995, local government, 10" and "Austria, 1995, state government, 6000).
How can I transform my dataset so that the value of a given year and country is displayed in distinct variables for all levels of governments?
Thanks!!
For example one of my variable is called government_level. In the same column different levels of government are displayed accordingly.
For that reason my country and year are not unique as there are seperare rows such as "Austria, 1995, local government, 10" and "Austria, 1995, state government, 6000).
How can I transform my dataset so that the value of a given year and country is displayed in distinct variables for all levels of governments?
Thanks!!
Comment