Hi,
This is a portion of my large dataset, that I imported all .dta files using a loop. After which I got two variables, source and v1 (which I split into 3 variables). Now I want to do following things:
I want to delete rows 1 &2, 15&16...………...of my whole dataset, but before doing that I want to generate year variable using cell 1 of v11 i.e. I will have in year 2016 and Jan in v11 (for now, which I will rename to month later) , 2016 -- Feb, 2016 -- Mar,...……..2015 -- Jan, 2015-- Feb...…...1987 -- Jan, 1987 -- Feb...….. and like that with more than 30 years of time. Please note few years are missing, and also the variable source has more than 14 different values. I hope, you can understand what I am trying to do. Thanks in advance.

This is a portion of my large dataset, that I imported all .dta files using a loop. After which I got two variables, source and v1 (which I split into 3 variables). Now I want to do following things:
I want to delete rows 1 &2, 15&16...………...of my whole dataset, but before doing that I want to generate year variable using cell 1 of v11 i.e. I will have in year 2016 and Jan in v11 (for now, which I will rename to month later) , 2016 -- Feb, 2016 -- Mar,...……..2015 -- Jan, 2015-- Feb...…...1987 -- Jan, 1987 -- Feb...….. and like that with more than 30 years of time. Please note few years are missing, and also the variable source has more than 14 different values. I hope, you can understand what I am trying to do. Thanks in advance.
Comment