Create mock CDM reference with survival::mgus2 dataset
mockMGUS2cdm.Rd
Create mock CDM reference with survival::mgus2 dataset
Examples
# \donttest{
cdm <- mockMGUS2cdm()
#> ■■■■■■■■■■■■■■■■■■■■■■■■■ 80% | ETA: 1s
cdm$person
#> # Source: table<main.person> [?? x 7]
#> # Database: DuckDB v1.1.2 [unknown@Linux 6.5.0-1025-azure:R 4.4.2/:memory:]
#> person_id gender_concept_id year_of_birth month_of_birth day_of_birth
#> <int> <int> <int> <int> <int>
#> 1 1 8532 1893 1 1
#> 2 2 8532 1890 1 1
#> 3 3 8507 1886 1 1
#> 4 4 8507 1909 1 1
#> 5 5 8532 1883 1 1
#> 6 6 8507 1900 1 1
#> 7 7 8532 1885 1 1
#> 8 8 8532 1887 1 1
#> 9 9 8532 1908 1 1
#> 10 10 8532 1902 1 1
#> # ℹ more rows
#> # ℹ 2 more variables: race_concept_id <int>, ethnicity_concept_id <int>
# }