{
  "_id": "6ae91244818c9e3ef6dbe9d7",
  "Package": "ti",
  "Title": "Time Intelligence and Customer Segmentation for Financial\nAnalysis",
  "Description": "Calculate time intelligence metrics for financial planning\nand analysis. 'ti' provides functions for period-over-period\ncomparisons (year-over-year, month-over-month), period-to-date\ncalculations (YTD, MTD, QTD), and customer segmentation (ABC\nanalysis, cohorts). Supports standard and retail calendars\n(4-4-5, 4-5-4, 5-4-4) with both in-memory and database backends\nvia 'dbplyr'.",
  "Version": "4.3.0",
  "Authors@R": "person(given=\"Alejandro\",family= \"Hagan\", email=\"alejandro.hagan@outlook.com\", role = c(\"aut\", \"cre\"))",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "URL": "https://codeberg.org/usrbinr/ti",
  "Config/roxygen2/version": "8.1.1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-02 22:05:38 UTC",
    "User": "root"
  },
  "Author": "Alejandro Hagan [aut, cre]",
  "Maintainer": "Alejandro Hagan <alejandro.hagan@outlook.com>",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://usrbinr.r-universe.dev",
  "Date/Publication": "2026-11-02 17:22:02 UTC",
  "RemoteUrl": "https://github.com/cran/ti",
  "RemoteRef": "HEAD",
  "RemoteSha": "61c5dcdb1ab5857c867331de483b9b7de85ffe14",
  "_user": "usrbinr",
  "_type": "src",
  "_file": "ti_4.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/d01db882c055dd865e7aff20bee52c19a3f734f3a9a8b52e2e6692031684d74d",
  "_filesize": 513556,
  "_sha256": "d01db882c055dd865e7aff20bee52c19a3f734f3a9a8b52e2e6692031684d74d",
  "_expires": "2027-02-10T22:44:18.000Z",
  "_created": "2026-11-02T22:05:38.000Z",
  "_published": "2026-11-02T22:44:20.829Z",
  "_upstream": "https://github.com/cran/ti",
  "_status": "success",
  "_maintainer": {
    "name": "Alejandro Hagan",
    "email": "alejandro.hagan@outlook.com",
    "login": "usrbinr",
    "description": "",
    "uuid": 87534364
  },
  "_jobs": [
    {
      "job": 125582045828,
      "time": 330,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13184011001"
    },
    {
      "job": 125582044768,
      "time": 266,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13183277038"
    },
    {
      "job": 125582044576,
      "time": 2025,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13186520546"
    },
    {
      "job": 125582044625,
      "time": 261,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13183983037"
    },
    {
      "job": 125580126220,
      "time": 225,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13183795673"
    },
    {
      "job": 125582044477,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13182309851"
    },
    {
      "job": 125582044784,
      "time": 294,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13184635495"
    },
    {
      "job": 125582044850,
      "time": 308,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13183003932"
    },
    {
      "job": 125582044604,
      "time": 194,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13183346862"
    }
  ],
  "_buildurl": "https://github.com/r-universe/usrbinr/actions/runs/41533626677",
  "_commit": {
    "id": "61c5dcdb1ab5857c867331de483b9b7de85ffe14",
    "author": "Alejandro Hagan <alejandro.hagan@outlook.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 4.3.0\n",
    "time": 1793640122
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "DBI",
      "role": "Imports"
    },
    {
      "package": "dbplyr",
      "version": ">= 2.3.0",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "duckdb",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "janitor",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "S7",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "gt",
      "role": "Suggests"
    },
    {
      "package": "fansi",
      "role": "Suggests"
    },
    {
      "package": "contoso",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-07",
      "n": 1
    },
    {
      "week": "2026-45",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "4.0.0",
      "date": "2026-02-10"
    },
    {
      "name": "4.3.0",
      "date": "2026-11-02"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "usrbinr",
      "count": 2,
      "uuid": 87534364
    }
  ],
  "_userbio": {
    "uuid": 87534364,
    "type": "user",
    "name": "usr/bin/R",
    "followers": 19
  },
  "_downloads": {
    "count": 13,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ti"
  },
  "_devurl": "https://codeberg.org/usrbinr/ti",
  "_searchresults": 115,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/ti.html",
    "LICENSE"
  ],
  "_realowner": "usrbinr",
  "_cranurl": false,
  "_releases": [
    {
      "version": "4.0.0",
      "date": "2026-02-16"
    },
    {
      "version": "4.3.0",
      "date": "2026-11-02"
    }
  ],
  "_exports": [
    "abc",
    "atd",
    "augment_standard_calendar",
    "calculate",
    "cohort",
    "create_calendar",
    "dod",
    "make_db_tbl",
    "mom",
    "momtd",
    "mtd",
    "mtdopm",
    "pmtd",
    "pqtd",
    "pwtd",
    "pytd",
    "qoq",
    "qoqtd",
    "qtd",
    "qtdopq",
    "wow",
    "wowtd",
    "wtd",
    "wtdopw",
    "yoy",
    "yoytd",
    "ytd",
    "ytdopy"
  ],
  "_help": [
    {
      "page": "abc",
      "title": "ABC classification function",
      "topics": [
        "abc"
      ]
    },
    {
      "page": "atd",
      "title": "All period-to-date",
      "concept": [
        "time_intelligence"
      ],
      "topics": [
        "atd"
      ]
    },
    {
      "page": "augment_standard_calendar",
      "title": "Add Comprehensive Date-Based Attributes to a DBI lazy frame or tibble object",
      "topics": [
        "augment_standard_calendar"
      ]
    },
    {
      "page": "calculate",
      "title": "Execute time-intelligence or segments class objects to return the underlying transformed table",
      "topics": [
        "calculate",
        "calculate,ti::segment_abc-method",
        "calculate,ti::segment_cohort-method",
        "calculate,ti::ti-method"
      ]
    },
    {
      "page": "cohort",
      "title": "Cohort Analysis",
      "topics": [
        "cohort"
      ]
    },
    {
      "page": "dod",
      "title": "Current period day over previous period day",
      "concept": [
        "time_intelligence"
      ],
      "topics": [
        "dod"
      ]
    },
    {
      "page": "mom",
      "title": "Current full period month over previous full period month",
      "concept": [
        "time_intelligence"
      ],
      "topics": [
        "mom"
      ]
    },
    {
      "page": "momtd",
      "title": "Current period month to date compared to previous period month-to-date",
      "concept": [
        "time_intelligence"
      ],
      "topics": [
        "momtd"
      ]
    },
    {
      "page": "mtd",
      "title": "Current period month-to-date",
      "concept": [
        "time_intelligence"
      ],
      "topics": [
        "mtd"
      ]
    },
    {
      "page": "mtdopm",
      "title": "Current month-to-date over full previous period month",
      "concept": [
        "time_intelligence"
      ],
      "topics": [
        "mtdopm"
      ]
    },
    {
      "page": "pmtd",
      "title": "Previous period month-to-date",
      "concept": [
        "time_intelligence"
      ],
      "topics": [
        "pmtd"
      ]
    },
    {
      "page": "pqtd",
      "title": "Prior period quarter-to-date",
      "concept": [
        "time_intelligence"
      ],
      "topics": [
        "pqtd"
      ]
    },
    {
      "page": "pwtd",
      "title": "Previous period week-to-date",
      "concept": [
        "time_intelligence"
      ],
      "topics": [
        "pwtd"
      ]
    },
    {
      "page": "pytd",
      "title": "Previous period year-to-date",
      "concept": [
        "time_intelligence"
      ],
      "topics": [
        "pytd"
      ]
    },
    {
      "page": "qoq",
      "title": "Current full period quarter over previous full period quarter",
      "concept": [
        "time_intelligence"
      ],
      "topics": [
        "qoq"
      ]
    },
    {
      "page": "qoqtd",
      "title": "Current period quarter-to-date compared to previous period quarter-to-date",
      "concept": [
        "time_intelligence"
      ],
      "topics": [
        "qoqtd"
      ]
    },
    {
      "page": "qtd",
      "title": "Current period quarter-to-date",
      "concept": [
        "time_intelligence"
      ],
      "topics": [
        "qtd"
      ]
    },
    {
      "page": "qtdopq",
      "title": "Current period quarter-to-date over previous period quarter",
      "concept": [
        "time_intelligence"
      ],
      "topics": [
        "qtdopq"
      ]
    },
    {
      "page": "wow",
      "title": "Current full period week over full previous period week",
      "concept": [
        "time_intelligence"
      ],
      "topics": [
        "wow"
      ]
    },
    {
      "page": "wowtd",
      "title": "Current period Week-to-date over previous period week-to-date",
      "concept": [
        "time_intelligence"
      ],
      "topics": [
        "wowtd"
      ]
    },
    {
      "page": "wtd",
      "title": "Current period week-to-date",
      "concept": [
        "time_intelligence"
      ],
      "topics": [
        "wtd"
      ]
    },
    {
      "page": "wtdopw",
      "title": "Current period week-to-date over full previous period week",
      "concept": [
        "time_intelligence"
      ],
      "topics": [
        "wtdopw"
      ]
    },
    {
      "page": "yoy",
      "title": "Current full period year over previous full period year",
      "concept": [
        "time_intelligence"
      ],
      "topics": [
        "yoy"
      ]
    },
    {
      "page": "yoytd",
      "title": "Current period year-to-date compared to previous period year-to-date",
      "concept": [
        "time_intelligence"
      ],
      "topics": [
        "yoytd"
      ]
    },
    {
      "page": "ytd",
      "title": "Current period year-to-date",
      "concept": [
        "time_intelligence"
      ],
      "topics": [
        "ytd"
      ]
    },
    {
      "page": "ytdopy",
      "title": "Current period year-to-date compared to full previous period",
      "concept": [
        "time_intelligence"
      ],
      "topics": [
        "ytdopy"
      ]
    }
  ],
  "_readme": "https://github.com/cran/ti/raw/HEAD/README.md",
  "_rundeps": [
    "blob",
    "cli",
    "cpp11",
    "DBI",
    "dbplyr",
    "dplyr",
    "duckdb",
    "generics",
    "glue",
    "hms",
    "janitor",
    "lifecycle",
    "lubridate",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "S7",
    "snakecase",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 3.060697840353612,
  "_indexed": true,
  "_nocasepkg": "ti",
  "_universes": [
    "usrbinr",
    "codeberg-usrbinr"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "4.3.0",
      "date": "2026-11-02T22:09:02.000Z",
      "distro": "resolute",
      "commit": "61c5dcdb1ab5857c867331de483b9b7de85ffe14",
      "fileid": "https://r2.ropensci.org/cdb1284c32a11b0835a63f8aeb8ff2d043cc1f42272b8c58d8eda8fd45a35caf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/usrbinr/actions/runs/41533626677"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "4.3.0",
      "date": "2026-11-02T22:08:15.000Z",
      "distro": "resolute",
      "commit": "61c5dcdb1ab5857c867331de483b9b7de85ffe14",
      "fileid": "https://r2.ropensci.org/aefbf154fb8b37fc6e2053064878f03f6b344c7b6a69ac1493b9d75fe59431ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/usrbinr/actions/runs/41533626677"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "4.3.0",
      "date": "2026-11-02T22:41:41.000Z",
      "commit": "61c5dcdb1ab5857c867331de483b9b7de85ffe14",
      "fileid": "https://r2.ropensci.org/00329824520106d5c5fc1a19700b56ed3723ba9f4e94624926bb2a67d5b779b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/usrbinr/actions/runs/41533626677"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "4.3.0",
      "date": "2026-11-02T22:20:12.000Z",
      "commit": "61c5dcdb1ab5857c867331de483b9b7de85ffe14",
      "fileid": "https://r2.ropensci.org/86b5a074e35a94c593e26603c2a6852ac9b27221080fed1fe726683b6f2d25b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/usrbinr/actions/runs/41533626677"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "4.3.0",
      "date": "2026-11-02T22:07:51.000Z",
      "commit": "61c5dcdb1ab5857c867331de483b9b7de85ffe14",
      "fileid": "https://r2.ropensci.org/72e4796584ac2ae172137abd12ad00a45a8bcb840fc35b6cf222beccb797adae",
      "status": "success",
      "buildurl": "https://github.com/r-universe/usrbinr/actions/runs/41533626677"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "4.3.0",
      "date": "2026-11-02T22:07:17.000Z",
      "commit": "61c5dcdb1ab5857c867331de483b9b7de85ffe14",
      "fileid": "https://r2.ropensci.org/b3e13f334048c569fc1b66b200355439eb50624954e2129f83e21ee88c57aa8f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/usrbinr/actions/runs/41533626677"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "4.3.0",
      "date": "2026-11-02T22:07:21.000Z",
      "commit": "61c5dcdb1ab5857c867331de483b9b7de85ffe14",
      "fileid": "https://r2.ropensci.org/83de1af5a219c01a536654ed4ec422295cd468f8d769216b02ab0cf50c6f965c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/usrbinr/actions/runs/41533626677"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "4.3.0",
      "date": "2026-11-02T22:06:51.000Z",
      "commit": "61c5dcdb1ab5857c867331de483b9b7de85ffe14",
      "fileid": "https://r2.ropensci.org/4e2a59f837f427a0f9169659b40e1e800c776906a2f7462f0464d6b997b1e824",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/usrbinr/actions/runs/41533626677"
    }
  ]
}