Print a codelist with details
Usage
# S3 method for class 'codelist_with_details'
print(x, ...)
Arguments
- x
A codelist with details
- ...
Included for compatibility with generic. Not used.
Value
Invisibly returns the input
Examples
codes <- list("disease X" = dplyr::tibble(
concept_id = c(1, 2, 3),
other = c("a", "b", "c")
))
codes <- newCodelistWithDetails(codes)
print(codes)
#>
#> ── 1 codelist with details ─────────────────────────────────────────────────────
#>
#> - disease X (3 codes)