fillMissingDates: Fill Missing Dates

View source: R/fillMissingDates.R

fillMissingDatesR 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

loadData, fillMissingValues

Examples

SpecLink <- loadDataSpecLink("163204843","1", X163204843_1)
x <- fillMissingValues(SpecLink)
datetime <- "2017-01-27 14:00:00" 
newData <- fillMissingDates (x, datetime)


okgreece/TrafficBDE documentation built on July 13, 2022, 1:15 p.m.