/sdtmchecks

Analysis facing checks for SDTM data

Primary LanguageRApache License 2.0Apache-2.0

sdtmchecks

drawing

R-CMD-check codecov CRAN status Downloads

The sdtmchecks package contains functions to identify common data issues in SDTM data. These checks are intended to be generalizable, actionable, and meaningful for analysis.

Installation

CRAN

You can install {sdtmchecks} from CRAN:

install.packages("sdtmchecks")

Development version (devel branch)

The development version (based on the default devel branch) can be installed via:

install.packages("sdtmchecks", repos = "https://pharmaverse.r-universe.dev")  

Or, via GitHub repo pharmaverse/sdtmchecks@HEAD:

# install.packages("devtools")
devtools::install_github("pharmaverse/sdtmchecks")

# Note that `ref = "devel"` is not needed since devel is the default branch

Use the package

The Get started page walks you through how the package can be used.

Data checks in the package

To search available data check functions, please see this search page.

The main data check functions of the package are saved as R program files beginning with “check_…” and are referenced under the Data Checks portion of the Reference page.

SDTM version

This package aims to be SDTM version agnostic and does not require users to specify the version.

Contributing

This package has been developed internally at Roche since 2014. There may be areas where the checks expect Roche-specific SDTM implementation choices. Proposed additions or modifications should attempt to maintain generalizability for slightly different data standards across companies. For examples on how to do so and to learn more about contributing in general, please refer to the Writing a New Check page.

If you have an idea for a new check but no time for development, please open an issue.

FAQs

The package FAQs may provide additional information you are looking for. If not, please feel free to post your question as an issue.