fillMissingDates {TrafficBDE} | R Documentation |
Fill Missing Dates
Description
This function fills the missing dates from the data.
Usage
fillMissingDates(Data, datetime)
Arguments
Data |
The historical data |
datetime |
The datetime wanted |
Details
This function returns a data frame without missing dates.
Value
A data frame with all the historical data between the first date and the date wanted.
Author(s)
Aikaterini Chatzopoulou, Charalampos Bratsas
See Also
Examples
## 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)
[Package TrafficBDE version 0.1.2 Index]