Skip to content

ohdsi-studies/CovidVaccineRapidCycleAnalyses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rapid-Cycle Analysis for the Janssen COVID vaccine

Study Status: Complete

  • Analytics use case(s): Population-Level Estimation
  • Study type: Clinical Application
  • Tags: COVID-19
  • Study lead: Martijn Schuemie
  • Study lead forums tag: schuemie
  • Study start date: February 1, 2022
  • Study end date: May 31, 2023
  • Protocol: -
  • Publications: -
  • Results explorer: -

To support and complement comprehensive routine pharmacovigilance activities being performed to monitor Janssen COVID-19 vaccine safety, Janssen has conducted rapid real-world data analyses that allowed for near real-time monitoring of the safety of the vaccine and provided additional context when considering potential safety signals.

Requirements

  • A database in Common Data Model version 5 in one of these platforms: SQL Server, Oracle, PostgreSQL, IBM Netezza, Apache Impala, Amazon RedShift, Google BigQuery, or Microsoft APS.
  • R version 3.6.0 or newer
  • On Windows: RTools
  • Java
  • 25 GB of free disk space

How to run

  1. Follow these instructions for seting up your R environment, including RTools and Java.

  2. Open your study package in RStudio. Use the following code to install all the dependencies:

    renv::restore()
  3. In RStudio, select 'Build' then 'Install and Restart' to build the package.

  4. Once installed, you can execute the study by modifying and using the code below. For your convenience, this code is also provided under extras/CodeToRun.R:

    library(RcaCovidVaccine)
    
    # Optional: specify where the temporary files (used by the Andromeda package) will be created:
    options(andromedaTempFolder = "s:/andromedaTemp")
    
    # Maximum number of cores to be used:
    maxCores <- parallel::detectCores()
    
    # Minimum cell count when exporting data:
    minCellCount <- 5
    
    # The folder where the study intermediate and result files will be written:
    outputFolder <- "c:/Epi1071"
    
    # Details for connecting to the server:
    # See ?DatabaseConnector::createConnectionDetails for help
    connectionDetails <- DatabaseConnector::createConnectionDetails(dbms = "postgresql",
    								server = "some.server.com/ohdsi",
    								user = "joe",
    								password = "secret")
    
    # The name of the database schema where the CDM data can be found:
    cdmDatabaseSchema <- "cdm_synpuf"
    
    # The name of the database schema and table where the study-specific cohorts will be instantiated:
    cohortDatabaseSchema <- "scratch.dbo"
    cohortTable <- "my_study_cohorts"
    
    # Some meta-information that will be used by the export function:
    databaseId <- "Synpuf"
    databaseName <- "Medicare Claims Synthetic Public Use Files (SynPUFs)"
    databaseDescription <- "Medicare Claims Synthetic Public Use Files (SynPUFs) were created to allow interested parties to gain familiarity using Medicare claims data while protecting beneficiary privacy. These files are intended to promote development of software and applications that utilize files in this format, train researchers on the use and complexities of Centers for Medicare and Medicaid Services (CMS) claims, and support safe data mining innovations. The SynPUFs were created by combining randomized information from multiple unique beneficiaries and changing variable values. This randomization and combining of beneficiary information ensures privacy of health information."
    
    # For some database platforms (e.g. Oracle): define a schema that can be used to emulate temp tables:
    options(sqlRenderTempEmulationSchema = NULL)
    
    execute(connectionDetails = connectionDetails,
            cdmDatabaseSchema = cdmDatabaseSchema,
            cohortDatabaseSchema = cohortDatabaseSchema,
            cohortTable = cohortTable,
            outputFolder = outputFolder,
            databaseId = databaseId,
            databaseName = databaseName,
            databaseDescription = databaseDescription,
            verifyDependencies = TRUE,
            createCohorts = TRUE,
            synthesizePositiveControls = TRUE,
            runAnalyses = TRUE,
            packageResults = TRUE,
            maxCores = maxCores)

License

The RcaCovidVaccine package is licensed under Apache License 2.0

Development

RcaCovidVaccine was developed in ATLAS and R Studio.

About

Rapid real-world data analyses for near real-time monitoring of the safety of the Janssen COVID vaccine.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages