README.md

IC Temporal Pattern Discovery

Build Status codecov.io

Introduction

This R package is an implementation of the IC Temporal Pattern Discovery method to estimate risk by combining a self-controlled and cohort design. It is designed to run against observational databases in the OMOP Common Data Model.

Features

Example

library(IcTemporalPatternDiscovery)

connectionDetails <- createConnectionDetails(dbms = "postgresql",
                                             user = "joe",
                                             password = "secret",
                                             server = "myserver")

exposureOutcomePairs = data.frame(outcomeId = c(196794, 196794, 312648), 
                                  exposurId = c(1501700, 1545958, 1551803))

ictpdData <- getDbIctpdData(connectionDetails, 
                            cdmDatabaseSchema = "cdm_schema.dbo", 
                            exposureOutcomePairs = exposureOutcomePairs)

ictpdResults <- calculateStatisticsIC(ictpdData)

ictpdResults                                             

Technology

IcTemporalPatternDiscovery is an R package.

System Requirements

Requires R (version 4.0.0 or higher). Libraries used in this package require Java.

Installation

  1. See the instructions here for configuring your R environment, including Java.

  2. In R, use the following commands to download and install IcTemporalPatternDiscovery:

r install.packages("remotes") remotes::install_github("ohdsi/IcTemporalPatternDiscovery")

User Documentation

Documentation can be found on the package website.

PDF versions of the documentation are also available:

Support

License

IcTemporalPatternDiscovery is licensed under Apache License 2.0

Development

IcTemporalPatternDiscovery is being developed in R Studio.

Development status

Beta

Acknowledgements

This package was developed by Tomas Bergvall, adapted by Martijn Schuemie.



OHDSI/IcTemporalPatternDiscovery documentation built on Sept. 16, 2022, 1:11 p.m.