Skip to contents

Suggest data programming steps to generate a nif object from an sdtm object

Usage

suggest(obj, consider_nif_auto = FALSE)

Arguments

obj

A sdtm object

consider_nif_auto

Include suggestions regarding parent or metabolite mappings to the sdtm object, as logical.

Value

Nothing.

Examples

suggest(examplinib_poc)
#> 1. There are 1 different treatments in 'EX' (see below).
#>       EXTRT        
#>       ----------
#>       EXAMPLINIB   
#>    Consider adding them to the nif object using `add_administration()`, see the
#>    code snippet below (replace 'sdtm' with the name of your sdtm object):
#>    ---
#>      %>%
#>        add_administration(sdtm, 'EXAMPLINIB')
#>    ---
#> 2. There are 2 different pharmacokinetic analytes in 'PC':
#>       PCTEST       PCTESTCD     
#>       ----------   ----------
#>       RS2023       RS2023       
#>       RS2023487A   RS2023487A   
#>    Consider adding them to the nif object using `add_observation()`. Replace
#>    'sdtm' with the name of your sdtm object and 'y' with the respective
#>    treatment code (EXAMPLINIB):
#>    ---
#>      %>%
#>        add_observation(sdtm, 'pc', 'RS2023', parent = 'y') %>%
#>        add_observation(sdtm, 'pc', 'RS2023487A', parent = 'y')
#>    ---
#> 3. There are 2 arms defined in DM (see below). Consider defining a PART or ARM
#>    variable in the nif dataset, filtering for a particular arm, or defining a
#>    covariate based on ACTARMCD.
#>       ACTARM                 ACTARMCD    
#>       --------------------   ---------
#>       Single Arm Treatment   TREATMENT   
#>       Screen Faillure        SCRNFAIL