Skip to contents

Retrieve the lookup table from options

Usage

edc_lookup(..., check = TRUE)

Arguments

...

passed on to dplyr::arrange()

check

whether to check for internal consistency

Value

the lookup dataframe summarizing the database import

Examples

tm = edc_example()
#> Warning: Option "edc_lookup" has been overwritten.
load_list(tm)
edc_lookup()
#> ── Lookup table (extraction of 2024-01-01)  ────────────────────────────────────
#>   dataset     nrow  ncol
#>   <chr>      <dbl> <dbl>
#> 1 enrol         50     5
#> 2 db2           50     5
#> 3 db3           50     6
#> 4 short         50     4
#> 5 db1          100     6
#> 6 long_mixed   100     5
#> 7 long_pure    150     4
#> 8 ae           175     6
edc_lookup(dataset)
#> ── Lookup table (extraction of 2024-01-01)  ────────────────────────────────────
#>   dataset     nrow  ncol
#>   <chr>      <dbl> <dbl>
#> 1 ae           175     6
#> 2 db1          100     6
#> 3 db2           50     5
#> 4 db3           50     6
#> 5 enrol         50     5
#> 6 long_mixed   100     5
#> 7 long_pure    150     4
#> 8 short         50     4