CaseControl is part of the OHDSI Methods Library.
CaseControl is an R package for performing (nested) matched case-control analyses in an observational database in the OMOP Common Data Model.
- Extracts the necessary data from a database in OMOP Common Data Model format
- Nesting in a cohort of interest (e.g. people with a particular prior condition)
- Matching on age, gender, provider, time in cohort, and/or visit
- Sampling of controls per case
- Fitting outcome models using conditional logisitc regression
CaseControl is an R package, with some functions implemented in C++.
Requires R (version 3.2.2 or higher). Installation on Windows requires RTools. Libraries used in CaseControl require Java.
- On Windows, make sure RTools is installed.
- The DatabaseConnector and SqlRender packages require Java. Java can be downloaded from http://www.java.com.
- In R, use the following commands to download and install CaseControl:
install.packages("drat") drat::addRepo("OHDSI") install.packages("CaseControl")
- Vignette: Single studies using the CaseControl package
- Vignette: Running multiple analyses at once using the CaseControl package
- Package manual: CaseControl.pdf
- Developer questions/comments/feedback: OHDSI Forum
- We use the GitHub issue tracker for all bugs/issues/enhancements
CaseControl is licensed under Apache License 2.0
CaseControl is being developed in R Studio.