filter_single_date: Filter a given date within a given interval: If the date is...

Description Usage Arguments Value

View source: R/utils.R

Description

Filter a given date within a given interval: If the date is within the interval, return the date If not, return NULL.

Usage

1
filter_single_date(current_date, from, to)

Arguments

current_date

date to be filtered. A Date object.

from

Initial date (included). A Date object.

to

Final date (included). A Date object.

Value

Returns NULL if the date is out of the given range, otherwise returns the current_date parameter


pegoraro/qchlorophyll documentation built on May 24, 2019, 11:46 p.m.