SDTM Datacut in R

Test Coverage


To provide an open source tool that enables the pharmaceutical programming community to apply a data cut to SDTM data in R.


The package is available from CRAN and can be installed by running install.packages(“datacutr”).

To install the latest development version of the package directly from GitHub use the following code::

if (!requireNamespace("remotes", quietly = TRUE)) {

remotes::install_github("pharmaverse/datacutr", ref = "devel")


This package works with tabulation data following an SDTM standard. For ease of processing, the assumption is that supplemental qualifiers have been combined with their parent domain prior to the application of the cut process (sometimes labeled as SDTMv). The user has the flexibility to select the type of cut applied to each SDTM domain (either no cut, patient cut, date cut, or a special DM cut).

References and Documentation


The following support and communications between user and developer community is recommended: