ti: Time Intelligence and Customer Segmentation for Financial Analysis

Calculate time intelligence metrics for financial planning and analysis. 'ti' provides functions for period-over-period comparisons (year-over-year, month-over-month), period-to-date calculations (YTD, MTD, QTD), and customer segmentation (ABC analysis, cohorts). Supports standard and retail calendars (4-4-5, 4-5-4, 5-4-4) with both in-memory and database backends via 'dbplyr'.

Version: 4.0.0
Depends: R (≥ 4.2.0)
Imports: assertthat, cli, DBI, dbplyr, dplyr, duckdb, glue, janitor, lubridate, rlang, S7, scales, tidyr
Suggests: testthat (≥ 3.0.0), cohorts, quarto, devtools, tibble, gt, fansi, crayon, contoso
Published: 2026-02-10
DOI: 10.32614/CRAN.package.ti (may not be active yet)
Author: Alejandro Hagan [aut, cre]
Maintainer: Alejandro Hagan <alejandro.hagan at outlook.com>
License: MIT + file LICENSE
URL: https://codeberg.org/usrbinr/ti
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: ti results

Documentation:

Reference manual: ti.html , ti.pdf

Downloads:

Package source: ti_4.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): ti_4.0.0.tgz, r-oldrel (arm64): ti_4.0.0.tgz, r-release (x86_64): ti_4.0.0.tgz, r-oldrel (x86_64): ti_4.0.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=ti to link to this page.