Skip to contents

Coerce harbour metadata to a tibble

Usage

# S3 method for class 'harbour_metadata'
as_tibble(x, ...)

Arguments

x

A harbour_metadata object.

...

These dots are for future extensions and must be empty.

Value

A tibble with one row per table; see hb_list_tables().

Examples

tibble::as_tibble(hb_example_metadata())
#> # A tibble: 2 × 3
#>   name     n_columns n_views
#>   <chr>        <int>   <int>
#> 1 Samples          7       1
#> 2 Patients         4       1