Code:
+----------------------------------------+ | country year dbagdp pcrdbgdp | |----------------------------------------| 1. | Afghanistan 2015 3.60 3.59 | 2. | Afghanistan 2016 3.49 3.48 | 3. | Albania 2015 61.22 36.24 | 4. | Albania 2016 58.51 34.54 | +----------------------------------------+
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str30 country int year double(dbagdp pcrdbgdp) "Afghanistan" 2015 3.600882 3.591564 "Afghanistan" 2016 3.486549 3.477464 "Albania" 2015 61.22281 36.24135 "Albania" 2016 58.51335 34.54434 end
0 Response to Duplicating previous year data
Post a Comment