sdtmgap_domain is a tibble subclass, so the object can be handed straight to admiral, xportr or any other consumer of a plain data frame. The print method adds the derivation notes that a reviewer would otherwise have to recompute (how many subjects contributed, how many records were left unmatched, how many dates were partial).

# S3 method for class 'sdtmgap_domain'
print(x, ...)

Arguments

x

An sdtmgap_domain object.

...

Passed on to the tibble print method.

Value

x, invisibly.

Examples

sv <- derive_sv(list(vs = sdtmgap_example("edge_vs")), sdtmgap_example("edge_dm"))
print(sv)
#> 
#> ── SDTM SV (31 records) ────────────────────────────────────────────────────────
#>  31 visit record(s) for 7 subject(s), from 32 input record(s) across 1 domain(s).
#>  1 input record(s) had no VISITNUM, no usable date, or no matching subject.
#> # A tibble: 31 × 7
#>    STUDYID   DOMAIN USUBJID       VISITNUM VISIT       SVSTDTC    SVENDTC   
#>  * <chr>     <chr>  <chr>            <dbl> <chr>       <chr>      <chr>     
#>  1 SDTMGAP01 SV     SDTMGAP01-001        1 SCREENING   2026-01-05 2026-01-05
#>  2 SDTMGAP01 SV     SDTMGAP01-001        2 DAY 1       2026-01-19 2026-01-19
#>  3 SDTMGAP01 SV     SDTMGAP01-001        3 WEEK 2      2026-02-02 2026-02-02
#>  4 SDTMGAP01 SV     SDTMGAP01-001        4 WEEK 4      2026-02-15 2026-02-15
#>  5 SDTMGAP01 SV     SDTMGAP01-001        5 FOLLOW-UP   2026-03-01 2026-03-01
#>  6 SDTMGAP01 SV     SDTMGAP01-001       99 UNSCHEDULED 2025-12-20 2025-12-20
#>  7 SDTMGAP01 SV     SDTMGAP01-002        1 SCREENING   2026-01-07 2026-01-07
#>  8 SDTMGAP01 SV     SDTMGAP01-002        2 DAY 1       2026-01-21 2026-01-21
#>  9 SDTMGAP01 SV     SDTMGAP01-002        3 WEEK 2      2026-02-04 2026-02-04
#> 10 SDTMGAP01 SV     SDTMGAP01-002        4 WEEK 4      2026-02-17 2026-02-17
#> # ℹ 21 more rows