I have a time series data frame with missing data, but the data frame were created in such a way that, the dates are consecutive as show below.
date,flow
1/1/1984,35.288
1/2/1984,28.858
1/3/1984,35.89
1/5/1984,1.71
1/7/1984,1.15
1/9/1984,8.99
1/16/1984,0.1
1/17/1984,10.64
1/18/1984,7.77
1/19/1984,2.59
1/20/1984,19.04
1/21/1984,32.51
1/22/1984,17.9
1/23/1984,0.74
1/30/1984,0.1
2/5/1984,1.15
What i want is results like the following
date,flow
1/1/1984,35.288
1/2/1984,28.858
1/3/1984,35.89
1/5/1984,1.71
1/7/1984,1.15
1/9/1984,8.99
1/10/1984,NA
1/11/1984,NA
1/12/1984,NA
1/13/1984,NA
1/14/1984,NA
1/15/1984,NA
1/16/1984,NA
1/16/1984,0.1
1/17/1984,10.64
1/18/1984,7.77
1/19/1984,2.59
1/20/1984,19.04
1/21/1984,32.51
1/22/1984,17.9
1/23/1984,0.74
1/30/1984,0.1
1/31/1984,NA
2/1/1984,NA
2/2/1984,NA
2/3/1984,NA
2/4/1984,NA
2/5/1984,1.15
Thanks.