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] "/tmp/RtmpvD30ma/temp_libpath1db469dc7f5c/yspec/spec/spec.yml"
file_proj_ex()
#> [1] "/tmp/RtmpvD30ma/temp_libpath1db469dc7f5c/yspec/spec/project.yml"