I am currently trying to figure out how to convert quarterly data to monthly data using R, since I want to merge my monthly return data with quarterly summary data.
What I currently have.
Quarterly Dataset
105 20080331 Y Y N N EQ
Monthly Dataset
105 20080131 -0.087372
105 20080229 -0.01609
105 20080331 -0.022895
What I want to achieve.
105 20080131 -0.087372 Y Y N N EQ
105 20080229 -0.01609 Y Y N N EQ
105 20080331 -0.022895 Y Y N N EQ
I will have to run this for over 350000 separate rows, which I why I am seeking help. I am assuming the quarter values are the same as the former 3 months.
Update
Thanks for the quick and helpful response. However, I made a mistake in the formatting.
Y1 can take on 3 levels, namely "", "Y", "N".
Y2 can take on 3 levels, namely "", "Y", "N".
N1 can take on 4 levels, namely "", "B", "D", "E".
N2 can take on 3 levels, namely "", "F", "N".
V is return that can take on any level.
My data also ranges from January of 2008 to December of 2019. I believe this makes the problem a lot more complicated.