yoytd_fn

< Back to Reference | View source

yoytd_fn()

Current year to date over previous year-to-date execution function

Usage

yoytd_fn(x)

Arguments

Argument Description
x ti object

Value

dbi object

Description

yoytd_fn() is the function that is called by yoytd() when passed through to calculate

Details

This is internal non exported function that is nested in ti class and is called upon when the underlying function is called by calculate This will return a dbi object that can converted to a tibble object with dplyr::collect()

See also

yoytd() for the function’s intent