pytd_fn: Previous year-to-date execution function

View source: R/time_intelligence_fn.R

pytd_fnR Documentation

Previous year-to-date execution function

Description

pytd_fn() is the function that is called by pytd() when passed through to calculate

Usage

pytd_fn(x)

Arguments

x

ti object

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()

Value

dbi object

See Also

pytd() for the function's intent


alejandrohagan/fpaR documentation built on April 12, 2025, 9:51 a.m.