Generate an example specification object

load_spec_ex(file = "spec.yml")

load_proj_ex(file = "project.yml")

file_spec_ex(file = "spec.yml")

file_proj_ex(file = "project.yml")

Arguments

file

an example spec file name

Examples


load_spec_ex()
#>  name    info unit          short                         source       
#>  C       c--  .             commented row indicator       _yspec_lookup
#>  USUBJID c--  .             USUBJID                       .            
#>  ID      ---  .             ID                            .            
#>  EVID    ---  .             event ID                      _yspec_lookup
#>  MDV     ---  .             MDV                           _yspec_lookup
#>  SEQ     -d-  .             SEQ                           .            
#>  AMT     ---  mg            amount                        .            
#>  II      ---  hours         II                            .            
#>  CMT     ---  .             Compartment                   .            
#>  TAFD    ---  hours         TAFD                          .            
#>  WT      ---  kg            Weight                        .            
#>  EGFR    ---  ml/min/1.73m2 eGFR                          _yspec_lookup
#>  STUDY   cd-  .             Study                         .            
#>  SEX     -d-  .             SEX                           _yspec_lookup
#>  BQL     -d-  .             below limit of quantification .            
#>  DV      ---  ng/mL         DV                            .            
#>  DV2     ---  .             DV2                           .            
#>  HAIR    cd-  .             HAIR                          .            
#>  CLCR    ---  ml/min        creatinine clearance          .            
#>  ALB     ---  g/dL          adjusted albumin              _yspec_lookup
load_proj_ex()
#> projectnumber:  ABC101104F 
#> sponsor:        ABC-Pharma 
#> --------------------------------------------
#> datafiles: 
#>  name            description                       data_stem       
#>  DEM104101F_PK   Population PK analysis data set   DEM104101F_PK   
#>  DEM104101F_PKPD Population PKPD analysis data set DEM104101F_PKPD 
#>  DEM104101F_AE   AE analysis data set              DEM0104101F_AE_2
file_spec_ex()
#> [1] "/private/var/folders/zv/v6tkdhrn1_bb1ndrc0c0j31w0000gp/T/Rtmp7lFAoU/temp_libpath5f2935e7abd0/yspec/spec/spec.yml"
file_proj_ex()
#> [1] "/private/var/folders/zv/v6tkdhrn1_bb1ndrc0c0j31w0000gp/T/Rtmp7lFAoU/temp_libpath5f2935e7abd0/yspec/spec/project.yml"