fillMissingDates {TrafficBDE} | R Documentation |
This function fills the missing dates from the data.
fillMissingDates(Data, datetime)
Data |
The historical data |
datetime |
The datetime wanted |
This function returns a data frame without missing dates.
A data frame with all the historical data between the first date and the date wanted.
Aikaterini Chatzopoulou, Charalampos Bratsas
## Not run:
SpecLink <- loadDataSpecLink("163204843","1", X163204843_1)
x <- fillMissingValues(SpecLink)
datetime <- "2017-01-27 14:00:00"
newData <- fillMissingDates (x, datetime)
## End(Not run)