The harmonization process prerequisites are:

  1. Having access to a Opal server with write premission in a project and premission to use R,
  2. Having a definition of the targetted data schema,
  3. Having access to one or more study-specific dataset that will be used to build the harmonized dataset.

Implement the Data Schema

The targetted data schema must be prepared: definition of the targeted harmonization variables with their proper annotations. This can be done by different ways:

Functions that can be used: getOpalTable(), annotate(), annotations(), saveOpalTable().

Generate the Harmonization Books

From the data schema, one book per study will be generated. Each harmonization book will have placeholders for:

The harmonization book can be designed for one or more domains of interest (Lifetyle and behaviors, Diseases, etc.).

Functions that can be used: makeHarmonizationBook().

Implement the Harmonization Books

In the R markdown files of the harmonization book, implement:

Functions that can be used: getOpalTable(), annotate(), annotations(), saveOpalTable().

Execute the Harmonization Book

The book will execute the R code chuncks that will perform the harmonization for the study, resulting in one or more datasets saved as Opal tables.



maelstrom-research/harmor documentation built on Dec. 6, 2019, 7:31 p.m.