I have a 30-year time series of data that has fill-in faults. As noted in the example below, some days were not recorded (1961-08-19-1961-08-20,1961-08-21 ...). How do I identify and insert the missing dates in the "date" column, assigning "NA" to the other columns on those dates when no monitoring was done?
date id prec tmax tmin tmed urmax
1961-08-18 1 NA 23.53 14.90 27.90 36.33
1961-08-22 1 0.00 24.80 14.90 29.70 31.67
1961-08-24 1 1.00 24.37 15.30 28.80 37.33
1961-08-25 1 0.00 23.93 16.03 29.20 43.67
1961-08-26 1 0.00 25.97 15.27 31.60 30.33
1961-08-27 1 0.00 25.83 14.97 31.20 29.33
1961-08-29 1 0.00 24.60 15.87 30.20 39.33
1961-08-30 1 0.00 25.60 15.83 29.80 34.00