sdtm.oak

An EDC and Data Standard agnostic SDTM data transformation engine that automates the transformation of raw clinical data in ODM format to SDTM based on standard mapping algorithms

https://github.com/pharmaverse/sdtm.oak

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (19.5%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

An EDC and Data Standard agnostic SDTM data transformation engine that automates the transformation of raw clinical data in ODM format to SDTM based on standard mapping algorithms

Basic Info
Statistics
  • Stars: 43
  • Watchers: 12
  • Forks: 14
  • Open Issues: 13
  • Releases: 3
Created about 3 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog Contributing License Code of conduct Codeowners

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# sdtm.oak 


[![CRAN status](https://www.r-pkg.org/badges/version/sdtm.oak)](https://CRAN.R-project.org/package=sdtm.oak)


An EDC (Electronic Data Capture systems) and Data Standard agnostic
solution that enables the pharmaceutical programming community to
develop CDISC (Clinical Data Interchange Standards Consortium) SDTM
(Study Data Tabulation Model) datasets in R. The reusable algorithms
concept in 'sdtm.oak' provides a framework for modular programming. We
plan to develop a code generation feature based on a standardized SDTM
specification format, which has the potential to automate the creation
of SDTM datasets.

## Installation

The package is available from CRAN and can be installed with:

```r
install.packages("sdtm.oak")
```

You can install the development version of `{sdtm.oak}` from [GitHub](https://github.com/pharmaverse/sdtm.oak/) with:

``` r
# install.packages("remotes")
remotes::install_github("pharmaverse/sdtm.oak")
```

## Challenges with SDTM at the Industry Level

-   Raw Data Structure: Data from different EDC systems come in varying
    structures, with different variable names, dataset names, etc.

-   Varying Data Collection Standards: Despite the availability of CDASH
    (Clinical Data Acquisition Standards Harmonization), pharmaceutical
    companies still create different eCRFs using CDASH standards.

Due to the differences in raw data structures and data collection
standards, it may seem impossible to develop a common approach for
programming SDTM datasets.

## GOAL
'sdtm.oak' aims to address this issue by providing an EDC-agnostic,
standards-agnostic solution. It is an open-source R package that offers
a framework for the modular programming of SDTM in R. With future
releases; we plan to develop a code generation feature based on a
standardized SDTM specification format, which has the potential to
automate the creation of SDTM datasets.

## Scope
Our goal is to use 'sdtm.oak' to program most of the domains specified
in SDTMIG (Study Data Tabulation Model Implementation Guide: Human
Clinical Trials) and SDTMIG-AP (Study Data Tabulation Model
Implementation Guide: Associated Persons). This R package is based on
the core concept of `algorithms`, implemented as functions capable of
carrying out the SDTM mappings for any domains listed in the CDISC
SDTMIG and across different versions of SDTM IGs. The design of these
functions allows users to specify a raw dataset and a variable name(s)
as parameters, making it EDC (Electronic Data Capture) agnostic. As long
as the raw dataset and variable name(s) exist, 'sdtm.oak' will execute
the SDTM mapping using the selected function. It’s important to note
that 'sdtm.oak' may not handle sponsor-specific details related to
managing metadata for LAB tests, unit conversions, and coding
information, as many companies have unique business processes.

## This Release

With the V0.2.0 release of 'sdtm.oak' users can now efficiently
create the DM domain and various SDTM domains, encompassing Findings,
Events, Findings About, and Intervention classes. However, the V0.2.0 release does NOT cover Trial Design Domains, SV (Subject Visits), SE (Subject Elements), RELREC (Related Records), Associated Person domains, or the EPOCH Variable across all domains.

## Road Map

Subsequent Releases: We are planning to develop the below features in
the subsequent releases.\
- Metadata driven code generation based on the standardized SDTM
specification.\
- Functions required to program the Domains SV (Subject Visits), SE (Subject Elements) and the EPOCH Variable.\
- Functions to derive standard units and results based on metadata. 
- Additional features to be developed based on the user feedback.

## References and Documentation

-   Please go to
    [Algorithms](https://pharmaverse.github.io/sdtm.oak/articles/algorithms.html)
    article to learn about Algorithms.
-   Please go to [Create Events
    Domain](https://pharmaverse.github.io/sdtm.oak/articles/interventions_domain.html)
    to learn about step by step process to create an Events domain.
-   Please go to [Create Findings
    Domain](https://pharmaverse.github.io/sdtm.oak/articles/findings_domain.html)
    to learn about step by step process to create a Findings domain.
-   Please go to [Path to
    Automation](https://pharmaverse.github.io/sdtm.oak/articles/study_sdtm_spec.html)
    to learn about how the foundational release sets up the stage for
    automation.
-   Please watch this YouTube video to learn about using the package
    [YouTube
    Video](https://www.youtube.com/watch?v=H0FdhG9_ttU&list=PLMtxz1fUYA5C67SvhSCINluOV2EmyjKql&index=3&ab_channel=RinPharma%5D)
-   RinPharma Virtual workshop
    [slides](https://pharmaverse.github.io/rinpharma-2024-SDTM-workshop/)

## Feedback

We ask users to follow the mentioned approach and try 'sdtm.oak' to map
any SDTM domains supported in this release. Users can also utilize the
test data in the package to become familiar with the concepts before
attempting on their own data. Please get in touch with us using one of
the recommended approaches listed below:

-   [Slack](https://oakgarden.slack.com/)
-   [GitHub](https://github.com/pharmaverse/sdtm.oak/issues)

## Acknowledgments

We thank the contributors and authors of the package. We also thank the
CDISC COSA for sponsoring the 'sdtm.oak'. Additionally, we would like to
sincerely thank the volunteers from Roche, Pfizer, GSK, Vertex, and
Merck for their valuable input as integral members of the CDISC COSA -
OAK leadership team.

Owner

  • Name: pharmaverse
  • Login: pharmaverse
  • Kind: organization
  • Location: Switzerland

GitHub Events

Total
  • Create event: 8
  • Release event: 1
  • Issues event: 26
  • Watch event: 22
  • Delete event: 9
  • Issue comment event: 58
  • Push event: 134
  • Pull request event: 21
  • Pull request review comment event: 45
  • Pull request review event: 63
  • Fork event: 8
Last Year
  • Create event: 8
  • Release event: 1
  • Issues event: 26
  • Watch event: 22
  • Delete event: 9
  • Issue comment event: 58
  • Push event: 134
  • Pull request event: 21
  • Pull request review comment event: 45
  • Pull request review event: 63
  • Fork event: 8

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 55
  • Total Committers: 12
  • Avg Commits per committer: 4.583
  • Development Distribution Score (DDS): 0.709
Past Year
  • Commits: 34
  • Committers: 9
  • Avg Commits per committer: 3.778
  • Development Distribution Score (DDS): 0.735
Top Committers
Name Email Commits
Ramiro Magno r****t@g****m 16
Adam Foryś a****s@g****m 15
Ram Ganapathy g****d@g****m 9
Shiyu Chen 3****C 5
edgar-manukyan e****n@r****m 2
Kamil Sijko k****l@s****l 2
Ross Farrugia 8****a 1
Rosemary Li 4****7 1
Hadley Wickham h****y@p****o 1
GitHub Actions a****n@g****m 1
Bill Denney b****y 1
muzzama-1990 m****2@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 57
  • Total pull requests: 61
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 18 days
  • Total issue authors: 13
  • Total pull request authors: 11
  • Average comments per issue: 2.79
  • Average comments per pull request: 2.97
  • Merged pull requests: 53
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 15
  • Pull requests: 21
  • Average time to close issues: 2 months
  • Average time to close pull requests: 26 days
  • Issue authors: 7
  • Pull request authors: 7
  • Average comments per issue: 1.8
  • Average comments per pull request: 2.52
  • Merged pull requests: 16
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • rammprasad (22)
  • ramiromagno (21)
  • ShiyuC (6)
  • edgar-manukyan (4)
  • parikp06 (1)
  • houtel (1)
  • kamilsi (1)
  • muzzama-1990 (1)
  • doll-barbara (1)
  • Vishnu-Datainsighter (1)
  • KoulAshish (1)
  • Longfei2 (1)
  • galachad (1)
Pull Request Authors
  • ramiromagno (27)
  • rammprasad (20)
  • galachad (18)
  • ShiyuC (14)
  • edgar-manukyan (7)
  • kamilsi (4)
  • yli110-stat697 (2)
  • hadley (2)
  • billdenney (2)
  • muzzama-1990 (2)
  • madhan0923 (1)
Top Labels
Issue Labels
enhancement (21) bug (13) documentation (9) question (2) discussion (1) CRAN (1)
Pull Request Labels
enhancement (7)

Packages

  • Total packages: 1
  • Total downloads:
    • cran 620 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 3
  • Total maintainers: 1
cran.r-project.org: sdtm.oak

SDTM Data Transformation Engine

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 620 Last month
Rankings
Dependent packages count: 28.3%
Dependent repos count: 34.9%
Average: 50.0%
Downloads: 86.7%
Last synced: 11 months ago

Dependencies

.github/workflows/build_docker_image.yml actions
  • actions/checkout v3 composite
  • insightsengineering/r-image-creator v1 composite
  • tj-actions/changed-files v35 composite
.github/workflows/common.yml actions
.github/workflows/r-renv-lock.yml actions
  • actions/checkout v3 composite
  • r-lib/actions/setup-r v2 composite
  • stefanzweifel/git-auto-commit-action v4 composite
  • tj-actions/branch-names v5.4 composite
DESCRIPTION cran
  • R >= 4.1 depends
  • rlang >= 1.0.0 imports
  • knitr * suggests
  • rmarkdown * suggests
  • spelling * suggests
  • testthat >= 3.1.7 suggests
  • tibble * suggests