zslCheckMissingDate: Checking The Missing Date

Description Usage Arguments Details Value

Description

Checking the missing date of given data.frame, usually from database to check the completeness of the zsl ratio. The data.frame given MUST have a "date" column.

Usage

1

Arguments

data

the data.frame is going to be checked, must have a "date" column

code

the code, only length 1 character vector

start

the "start" date of the exchange date series

end

the "end" date of the exchange date series

Details

The param code can be given or missed, it depends on whether the given data is filtered, so it is just a filtering element. Then "start" and "end" are like it, if given the exchange date series is influenced.

The mechanism is that, the function find the "range" of the "date" column, and use this range to get the exchange trading date series. After comparing two "Date" series, the difference is returned.

Value

If there is no missing date, return FALSE, otherwise, return the missing date(s) series.


baixueyuan/zsl documentation built on May 11, 2019, 5:27 p.m.