A small, hand-crafted SeaTable base used to power offline examples, tests, the column-types vignette and the Shiny demo mode. The shape of the returned object matches what the SeaTable metadata endpoint would yield.
Details
The base is defined once, in inst/extdata/example_metadata.json, and
parsed on each call. Keeping it in a data file rather than in R source
means the demo base is also readable from outside R, and there is only
one definition to keep in step with the coercion layer.
See also
Other example data:
hb_example_rows()
Examples
meta <- hb_example_metadata()
tibble::as_tibble(meta)
#> # A tibble: 2 × 3
#> name n_columns n_views
#> <chr> <int> <int>
#> 1 Samples 7 1
#> 2 Patients 4 1