I have a dataset (attached in .dta format) of all aid donors (the numeric variable donors1) to the Democratic Republic of Congo (variable recipient) for two years, 2012 and 2013. The aid is the variable goal_2. It contains sums of aid in US dollars.
The rows with aid for goal_2 are not summed per donor. I mean if the USA sends 100 times aid to Congo, there will be 100 rows with data for goal_2. This makes it difficult to notice tendencies.
I wish to create a variable that sums all aid (variable goal_2) per donor per year and plots, for example in a bar chart, the variable goal_2 for the top 15 donors per year.
I will be very grateful if you show me how to do this.
The rows with aid for goal_2 are not summed per donor. I mean if the USA sends 100 times aid to Congo, there will be 100 rows with data for goal_2. This makes it difficult to notice tendencies.
I wish to create a variable that sums all aid (variable goal_2) per donor per year and plots, for example in a bar chart, the variable goal_2 for the top 15 donors per year.
I will be very grateful if you show me how to do this.
Comment