Current full period quarter over previous full period quarter
qoq.Rd
A short description...
Examples
qoq(sales,.date=order_date,.value=quantity,calendar_type='standard',lag_n=1)
#>
#> ── Quarter over quarter ────────────────────────────────────────────────────────
#> Function: `qoq` was executed
#>
#> ── Description: ──
#>
#> This creates a full quarter `sum()` of the previous quarter quantity and
#> compares it with the full quarter `sum()` current quarter quantity from the
#> start of the standard calendar quarter to the end of the quarter
#>
#> ── Calendar: ──
#>
#> • The calendar aggregated order_date to the quarter time unit
#> • A standard calendar is created with 0 groups
#> • Calendar ranges from 2021-05-18 to 2024-04-20
#> • 222 days were missing and replaced with 0
#> • New date column date, year and quarter was created from order_date
#>
#> ── Actions: ──
#>
#> Error in str_detect(x@action@value[[1]], "32m"): could not find function "str_detect"