missing_ranges: Missing date range in a date range

Description Usage Arguments Value Examples

View source: R/utility_functions.R

Description

The result of Date range A minus Date range B.The result is expressed as a data.frame of date range collection.

Usage

1
missing_ranges(base_start_date, base_end_date, start_date, end_date)

Arguments

base_start_date

a date value to represent start of the base date range.

base_end_date

a date value to represent end of the base date range.

start_date

a date value to represent start of the excluded date range.

end_date

a date value to represent end of the excluded range.

Value

a data.frame containing the collection of date range.

Examples

1
2
3
missing_ranges(base_start_date = as.Date("2020-01-01"),
base_end_date = as.Date("2021-01-01"),
start_date = as.Date("2020-03-01"), end_date = as.Date("2020-06-01"))

deepjyot1991/zimplify documentation built on Dec. 19, 2021, 10:09 p.m.