{
  "_id": "6abec11f99f7aa8c6aa57890",
  "Package": "CohortIncidence",
  "Type": "Package",
  "Title": "Cohort Incidence Analysis for the OMOP Common Data Model",
  "Version": "4.2.0",
  "Date": "2026-07-27",
  "Authors@R": "person(given = \"Christopher\",\nfamily = \"Knoll\",\nrole = c(\"aut\", \"cre\"),\nemail = \"cknoll@ohdsi.org\")",
  "Description": "Provides functionality for performing cohort incidence\nanalyses against data stored in the OMOP Common Data Model\n(CDM). The package generates database-specific SQL, executes\nanalyses across supported database platforms, and returns\nstandardized incidence estimates using configurable\ntime-at-risk, stratification, and cohort definitions. It is\nintended to support reproducible observational research within\nthe OHDSI analytics framework.",
  "License": "Apache License 2.0",
  "VignetteBuilder": "knitr",
  "URL": "https://ohdsi.github.io/CohortIncidence/",
  "BugReports": "https://github.com/OHDSI/CohortIncidence/issues",
  "SystemRequirements": "Java (>= 8)",
  "NeedsCompilation": "yes",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Roxygen": "list(markdown = TRUE)",
  "Config/pak/sysreqs": "make default-jdk libicu-dev libx11-dev",
  "Repository": "https://ohdsi.r-universe.dev",
  "Date/Publication": "2026-08-27 22:31:13 UTC",
  "RemoteUrl": "https://github.com/ohdsi/cohortincidence",
  "RemoteRef": "HEAD",
  "RemoteSha": "fc39a9d42cb20a3dd620400d7373bc036ea59e40",
  "Packaged": {
    "Date": "2026-10-01 19:55:53 UTC",
    "User": "root"
  },
  "Author": "Christopher Knoll [aut, cre]",
  "Maintainer": "Christopher Knoll <cknoll@ohdsi.org>",
  "_user": "ohdsi",
  "_type": "src",
  "_file": "CohortIncidence_4.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/647b41a427039d0d9bf6f62d50cbca90acaa02b6a7e81e4539fb5d11a428d0bd",
  "_filesize": 3297779,
  "_sha256": "647b41a427039d0d9bf6f62d50cbca90acaa02b6a7e81e4539fb5d11a428d0bd",
  "_expires": "2027-01-09T20:22:52.000Z",
  "_created": "2026-10-01T19:55:53.000Z",
  "_published": "2026-10-01T20:22:54.853Z",
  "_jobs": [
    {
      "job": 110556432857,
      "time": 199,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11190382759"
    },
    {
      "job": 110556432787,
      "time": 178,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11190851191"
    },
    {
      "job": 110556432929,
      "time": 178,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11191691729"
    },
    {
      "job": 110556432833,
      "time": 117,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11191690121"
    },
    {
      "job": 110555015672,
      "time": 209,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11190142622"
    },
    {
      "job": 110556432902,
      "time": 169,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11190916209"
    },
    {
      "job": 110556432867,
      "time": 110,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11191600216"
    },
    {
      "job": 110556432853,
      "time": 178,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11191201174"
    },
    {
      "job": 110556432807,
      "time": 118,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11190307620"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ohdsi/actions/runs/36917466175",
  "_status": "success",
  "_upstream": "https://github.com/ohdsi/cohortincidence",
  "_commit": {
    "id": "fc39a9d42cb20a3dd620400d7373bc036ea59e40",
    "author": "Chris Knoll <cknoll@ohdsi.org>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Release 4.2.0 (redux)",
    "time": 1787869873
  },
  "_maintainer": {
    "name": "Christopher Knoll",
    "email": "cknoll@ohdsi.org",
    "login": "chrisknoll",
    "description": "",
    "uuid": 6818777
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.2",
      "role": "Depends"
    },
    {
      "package": "DatabaseConnector",
      "version": ">= 3.0.0",
      "role": "Depends"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "rJava",
      "version": ">= 0.9-10",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "SqlRender",
      "version": ">= 1.6.0",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "readr",
      "role": "Suggests"
    },
    {
      "package": "Eunomia",
      "role": "Suggests"
    },
    {
      "package": "duckdb",
      "role": "Suggests"
    },
    {
      "package": "R6",
      "role": "Suggests"
    }
  ],
  "_owner": "ohdsi",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-31",
      "n": 1
    },
    {
      "week": "2026-35",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v4.1.1",
      "date": "2026-03-02"
    },
    {
      "name": "v4.2.0",
      "date": "2026-08-27"
    }
  ],
  "_stars": 6,
  "_contributors": [
    {
      "user": "chrisknoll",
      "count": 87,
      "uuid": 6818777
    },
    {
      "user": "anthonysena",
      "count": 1,
      "uuid": 12902366
    },
    {
      "user": "mdlavallee92",
      "count": 1,
      "uuid": 44976592
    },
    {
      "user": "schuemie",
      "count": 1,
      "uuid": 6713328
    }
  ],
  "_userbio": {
    "uuid": 6570077,
    "type": "organization",
    "name": "Observational Health Data Sciences and Informatics",
    "followers": 1114
  },
  "_downloads": {
    "count": 497,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/CohortIncidence"
  },
  "_devurl": "https://github.com/ohdsi/cohortincidence",
  "_pkgdown": "https://ohdsi.github.io/CohortIncidence/",
  "_searchresults": 26,
  "_topics": [
    "openjdk"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/CohortIncidence.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/ohdsi/cohortincidence",
  "_realowner": "ohdsi",
  "_cranurl": true,
  "_releases": [
    {
      "version": "4.2.0",
      "date": "2026-08-25"
    }
  ],
  "_exports": [
    "buildOptions",
    "buildQuery",
    "CohortDefinition",
    "CohortReference",
    "CohortSubgroup",
    "createCohortRef",
    "createCohortSubgroup",
    "createDateRange",
    "createIncidenceAnalysis",
    "createIncidenceDesign",
    "createOutcomeDef",
    "createStrataSettings",
    "createTimeAtRiskDef",
    "DateRange",
    "executeAnalysis",
    "getCleanupSql",
    "getResultsDdl",
    "IncidenceAnalysis",
    "IncidenceDesign",
    "Outcome",
    "StrataSettings",
    "TimeAtRisk"
  ],
  "_help": [
    {
      "page": "buildOptions",
      "title": "Builds the BuilderOptions jObject with the specified paramaters",
      "topics": [
        "buildOptions"
      ]
    },
    {
      "page": "buildQuery",
      "title": "Builds SQL code to run analyses according given Cohort Characterization design",
      "topics": [
        "buildQuery"
      ]
    },
    {
      "page": "CohortDefinition",
      "title": "R6 Class Representing a CohortDefinition",
      "topics": [
        "CohortDefinition"
      ]
    },
    {
      "page": "CohortReference",
      "title": "R6 Class Representing a CohortReference",
      "topics": [
        "CohortReference"
      ]
    },
    {
      "page": "CohortSubgroup",
      "title": "R6 Class Representing a Cohort Subgroup definition",
      "topics": [
        "CohortSubgroup"
      ]
    },
    {
      "page": "createCohortRef",
      "title": "Creates R6 object for CohortReference",
      "topics": [
        "createCohortRef"
      ]
    },
    {
      "page": "createCohortSubgroup",
      "title": "Creates R6 object for CohortSubgroup",
      "topics": [
        "createCohortSubgroup"
      ]
    },
    {
      "page": "createDateRange",
      "title": "Creates R6 object for DateRange",
      "topics": [
        "createDateRange"
      ]
    },
    {
      "page": "createIncidenceAnalysis",
      "title": "Creates R6 object for IncidenceAnalysis",
      "topics": [
        "createIncidenceAnalysis"
      ]
    },
    {
      "page": "createIncidenceDesign",
      "title": "Creates R6 object for IncidenceDesign",
      "topics": [
        "createIncidenceDesign"
      ]
    },
    {
      "page": "createOutcomeDef",
      "title": "Creates R6 object for Outcome",
      "topics": [
        "createOutcomeDef"
      ]
    },
    {
      "page": "createStrataSettings",
      "title": "Creates R6 object for StrataSettings",
      "topics": [
        "createStrataSettings"
      ]
    },
    {
      "page": "createTimeAtRiskDef",
      "title": "Creates R6 object for TimeAtRisk",
      "topics": [
        "createTimeAtRiskDef"
      ]
    },
    {
      "page": "DateRange",
      "title": "R6 Class Representing a DataRange",
      "topics": [
        "DateRange"
      ]
    },
    {
      "page": "executeAnalysis",
      "title": "Executes IR analysis given a design, options, and connection settings.",
      "topics": [
        "executeAnalysis"
      ]
    },
    {
      "page": "getCleanupSql",
      "title": "Gets the sql that drops the results tables",
      "topics": [
        "getCleanupSql"
      ]
    },
    {
      "page": "getResultsDdl",
      "title": "Gets the results schema DDL for Incidence Analysis",
      "topics": [
        "getResultsDdl"
      ]
    },
    {
      "page": "IncidenceAnalysis",
      "title": "R6 Class Representing a IncidenceAnalysis",
      "topics": [
        "IncidenceAnalysis"
      ]
    },
    {
      "page": "IncidenceDesign",
      "title": "R6 Class Representing a IncidenceDesign",
      "topics": [
        "IncidenceDesign"
      ]
    },
    {
      "page": "Outcome",
      "title": "R6 Class Representing an Outcome definition",
      "topics": [
        "Outcome"
      ]
    },
    {
      "page": "StrataSettings",
      "title": "R6 Class Representing the Stratification Settings of a IncidenceDesign",
      "topics": [
        "StrataSettings"
      ]
    },
    {
      "page": "TimeAtRisk",
      "title": "R6 Class Representing an Time-at-Risk (TAR) definition",
      "topics": [
        "TimeAtRisk"
      ]
    }
  ],
  "_readme": "https://github.com/ohdsi/cohortincidence/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "bit",
    "bit64",
    "blob",
    "checkmate",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "DatabaseConnector",
    "DBI",
    "dbplyr",
    "digest",
    "dplyr",
    "generics",
    "glue",
    "hms",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "Rcpp",
    "readr",
    "rJava",
    "rlang",
    "SqlRender",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "triebeard",
    "tzdb",
    "urltools",
    "utf8",
    "vctrs",
    "vroom",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libjvm",
      "package": "openjdk-25-jre-headless",
      "headers": "openjdk-25-jre-headless",
      "source": "openjdk",
      "version": "25.0.4.1+1-1~26.04.4",
      "name": "openjdk",
      "homepage": "https://openjdk.java.net/",
      "description": "OpenJDK Java runtime, using Hotspot JIT (headless)"
    }
  ],
  "_vignettes": [
    {
      "source": "cohortincidence-method-documentation.Rmd",
      "filename": "cohortincidence-method-documentation.pdf",
      "title": "CohortIncidence Method Documentation",
      "author": "Christopher Knoll",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Background",
        "Terminology",
        "Example: Calcuating incidence from a single patient timeline",
        "Step 1: Define TAR and Clean Windows",
        "Step 2: Collapse TAR and Clean Windows",
        "Step 3: Remove Immortal Time",
        "Step 4: Calculate Incidence Rate and Proportion",
        "Limiting follow up to first outcome",
        "A Tabular Example"
      ],
      "created": "2024-10-04 18:58:51",
      "modified": "2026-08-27 22:31:13",
      "commits": 2
    },
    {
      "source": "using-cohortincidence.Rmd",
      "filename": "using-cohortincidence.pdf",
      "title": "Using CohortIncidence",
      "author": "Christopher Knoll",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Installation instructions",
        "Database Preparation",
        "A simple example",
        "Build the design",
        "Using age, gender and start year strata",
        "Using executeAnalysis()",
        "Advanced Usage: Budling and Executing SQL manually",
        "Build analysis SQL from design",
        "Render SQL with paramaters and execute",
        "Using Temp Tables"
      ],
      "created": "2021-08-14 05:27:53",
      "modified": "2026-08-27 22:31:13",
      "commits": 6
    }
  ],
  "_score": 6.147367107793786,
  "_indexed": true,
  "_nocasepkg": "cohortincidence",
  "_universes": [
    "ohdsi",
    "chrisknoll"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "4.2.0",
      "date": "2026-10-01T19:58:54.000Z",
      "distro": "resolute",
      "commit": "fc39a9d42cb20a3dd620400d7373bc036ea59e40",
      "fileid": "https://r2.ropensci.org/94ad5542935efa2548187cb0739d9e3a95bd76555420f5d85585ad9df37c5c03",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/36917466175"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "4.2.0",
      "date": "2026-10-01T19:58:28.000Z",
      "distro": "resolute",
      "commit": "fc39a9d42cb20a3dd620400d7373bc036ea59e40",
      "fileid": "https://r2.ropensci.org/31f2f0abbcacf2fb0bd6bfd8da8b0a5c6d323eb10d5f336c8c6853b1619594a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/36917466175"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "4.2.0",
      "date": "2026-10-01T20:21:34.000Z",
      "commit": "fc39a9d42cb20a3dd620400d7373bc036ea59e40",
      "fileid": "https://r2.ropensci.org/d5398f8d499f2f1eaa72c10b227b22bf6387535924236786dc35f4cc73294852",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/36917466175"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "4.2.0",
      "date": "2026-10-01T20:12:03.000Z",
      "commit": "fc39a9d42cb20a3dd620400d7373bc036ea59e40",
      "fileid": "https://r2.ropensci.org/4f780e0e2d3a4e499aa0da5432546838bf3f709a798694dd61b0cc269cf7e345",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/36917466175"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "4.2.0",
      "date": "2026-10-01T19:58:59.000Z",
      "commit": "fc39a9d42cb20a3dd620400d7373bc036ea59e40",
      "fileid": "https://r2.ropensci.org/1cdb42bcf82d4a23978f8c9154881b4c46755feab7754a84085454b66d4fc95f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/36917466175"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "4.2.0",
      "date": "2026-10-01T19:57:03.000Z",
      "commit": "fc39a9d42cb20a3dd620400d7373bc036ea59e40",
      "fileid": "https://r2.ropensci.org/1a7b7780298d8f5e37697726ea4cbd1d27d1503001aa0dc5ec764292c678218f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/36917466175"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "4.2.0",
      "date": "2026-10-01T19:57:06.000Z",
      "commit": "fc39a9d42cb20a3dd620400d7373bc036ea59e40",
      "fileid": "https://r2.ropensci.org/e5af71a966f7b14419daaad44584033808245a569b166f5e05b70e96ca462722",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/36917466175"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "4.2.0",
      "date": "2026-10-01T19:57:06.000Z",
      "commit": "fc39a9d42cb20a3dd620400d7373bc036ea59e40",
      "fileid": "https://r2.ropensci.org/66e86e46788e596d3201cec1dee06f61c12e0929901234faf2aa75afcf7cb078",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/36917466175"
    }
  ]
}