Provides functionality for performing cohort incidence analyses against data stored in the OMOP Common Data Model (CDM). The package generates database-specific SQL, executes analyses across supported database platforms, and returns standardized incidence estimates using configurable time-at-risk, stratification, and cohort definitions. It is intended to support reproducible observational research within the OHDSI analytics framework.
CohortIncidence is part of HADES.
An R package and Java library for calculating incidence rates on the OMOP CDM.
CohortIncidence is an R package which wraps a Java library that implements most of the functions of the package.
Requires R and Java.
See the instructions here for configuring your R environment, including Java.
In R, use the following commands to download and install CohortIncidence:
install.packages("remotes")
library(remotes)
install_github("ohdsi/CohortIncidence")
The Java library is hosted in an OHDSI Nexus repo, so you only need to add the repository and dependnecy to your maven.xml file in order to use it in your own Java project.
<repositories>
<repository>
<id>ohdsi</id>
<name>repo.ohdsi.org</name>
<url>https://repo.ohdsi.org/nexus/content/groups/public</url>
</repository>
</repositories>
2: Include the CohortIncidence dependency in your pom.xml
<dependency>
<groupId>org.ohdsi.sql</groupId>
<artifactId>CohortIncidence</artifactId>
<version>{latest version}</version>
</dependency>
Documentation can be found on the package website.
PDF versions of the documentation are also available:
Read here how you can contribute to this package.
CohortIncidence is licensed under Apache License 2.0
CohortIncidence is being developed in R Studio.
Released, Under Active Development