Name: CohortMethod
Owner: Observational Health Data Sciences and Informatics
Description: An R package for performing new-user cohort studies in an observational database in the OMOP Common Data Model.
Created: 2014-06-12 16:30:07.0
Updated: 2017-12-19 08:11:48.0
Pushed: 2018-01-10 10:53:35.0
Size: 56055
Language: R
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
CohortMethod is an R package for performing new-user cohort studies in an observational database in the OMOP Common Data Model.
Propensity (preference score) distribution | Covariate balance plot |
CohortMethod is an R package, with some functions implemented in C++.
Requires R (version 3.1.0 or higher). Installation on Windows requires RTools. Libraries used in CohortMethod 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. Once Java is installed, ensure that Java is being pathed correctly. Under environment variables in the control panel, ensure that the jvm.dll file is added correctly to the path.
In R, use the following commands to download and install CohortMethod:
all.packages("drat")
::addRepo("OHDSI")
all.packages("CohortMethod")
Optionally, run this to check if CohortMethod was correctly installed:
ectionDetails <- createConnectionDetails(dbms="postgresql",
server="my_server.org",
user = "joe",
password = "super_secret")
kCmInstallation(connectionDetails)
Where dbms, server, user, and password need to be changed to the settings for your database environment. Type
ateConnectionDetails
for more details on how to configure your database connection.
CohortMethod is licensed under Apache License 2.0
CohortMethod is being developed in R Studio.
CohortMethod is actively being used in several studies and is ready for use.