This package is no longer being supported It is provided as is.
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 logistic regression
CaseControl is an R package, with some functions implemented in C++.
Requires R. Installation on Windows requires RTools. Libraries used in CaseControl require Java.
-
See the instructions here for configuring your R environment, including RTools and Java.
-
In R, use the following commands to download and install CaseControl:
install.packages("remotes")
remotes::install_github("ohdsi/CaseControl")
Documentation can be found on the package website.
PDF versions of the documentation are also available:
- 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
Read here how you can contribute to this package.
CaseControl is licensed under Apache License 2.0
CaseControl is being developed in R Studio.
No longer supported.