OHDSI/CohortMethod

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

Homepage:

Size: 56055

Language: R

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

CohortMethod

Introduction

CohortMethod is an R package for performing new-user cohort studies in an observational database in the OMOP Common Data Model.

Features

Screenshots

CohortMethod propensity score plot CohortMethod covariate balance plot
Propensity (preference score) distributionCovariate balance plot

Technology

CohortMethod is an R package, with some functions implemented in C++.

System Requirements

Requires R (version 3.1.0 or higher). Installation on Windows requires RTools. Libraries used in CohortMethod require Java.

Dependencies

Getting Started

  1. On Windows, make sure RTools is installed.

  2. 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.

  3. In R, use the following commands to download and install CohortMethod:

    all.packages("drat")
    ::addRepo("OHDSI")
    all.packages("CohortMethod")
    
  4. 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.

Getting Involved

License

CohortMethod is licensed under Apache License 2.0

Development

CohortMethod is being developed in R Studio.

Development status

Build Status codecov.io

CohortMethod is actively being used in several studies and is ready for use.

Acknowledgements


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.