Skip to content

SafetyGraphics/safetyData

Repository files navigation

CRAN R-CMD-check

safetyData

safetyData is an R package with sample CDISC clinical trial data sets.

Data Overview

The package reformats PHUSE's sample ADaM and SDTM datasets as an R package following R data best practices.

PHUSE released the data under the permissive MIT license, so reuse with attribution is encouraged. The data are especially useful for prototyping new tables, listings and figures and for writing automated tests.

Basic documentation for each data file is provided in help files (e.g. ?adam_adae). Full data specifications in the form of define.xml files can also be found at the links above (pdf for ADaM and pdf for SDTM).

Usage

All data sets are provided with a prefix specifying the data format (adam_xxx or sdtm_xxx) and can be accessed using standard methods:

install.packages("safetyData")
library(safetyData)
head(safetyData::adam_adlbc) 
table(safetyData::sdtm_ta$ARMCD)

Acknowledgments

Thanks to PHUSE and it's member organizations for releasing the data.

About

Example CDISC clinical trial data sets

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •