knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
The main idea of {datacutr}
is to provide a standardized approach to applying a datacut to SDTM datasets.
The process applied by the package is the following,
DCUT
that references all patients to be included within the cut, and the cut date to be used as reference (normally the Clinical Cut-off Date that data has been cleaned to). DCUT
as reference, records can be removed from the SDTM data that are either a) patients not part of the reference DCUT
, or b) records that can be identified as after the data cut date supplied. The package relies on creating lists of SDTM to be processed in specific ways, these include,
DCUT
are kept, no other exclusion of records is conducted DCUT
are kept, and records identified after the data cut date are removed DM
contains critical temporal derivations around Deaths that would require update within a data cut, this option allows the user to revert DM.DTHFL
and DM.DTHDTC
if death is identified after the data cut dateThe {datacutr}
package allows two different approaches for the user to apply the data cut process
{datacutr}
process. See Modular Approach for how to implement {datacutr}
. See Wrapped Approach for how to implementAll functions are reviewed and tested to ensure that they work as described in the documentation. They are not validated yet.
{datacutr}
provides a template R scripts as a starting point. See Modular Approach and Wrapped Approach for more details.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.