Skip to contents

Returns a tibble of example rows for one of the tables provided by hb_example_metadata(). The rows exercise every column type harbouR supports, including list-columns and dates, so tests and the column-types vignette can demonstrate the coercion layer without a SeaTable server.

Usage

hb_example_rows(table = c("Samples", "Patients"))

Arguments

table

One of "Samples" or "Patients".

Value

A tibble.

See also

Other example data: hb_example_metadata()

Examples

hb_example_rows("Samples")
#> # A tibble: 3 × 8
#>   Name  Concentration Status  Tags   Collected           Collaborators Reports
#>   <chr>         <dbl> <chr>   <list> <dttm>              <list>        <list> 
#> 1 S-001          12.4 draft   <chr>  2026-04-01 09:00:00 <chr [1]>     <list> 
#> 2 S-002           8.1 ready   <chr>  2026-04-03 12:30:00 <chr [2]>     <list> 
#> 3 S-003          21   shipped <chr>  2026-04-05 16:15:00 <chr [0]>     <list> 
#> # ℹ 1 more variable: `_id` <chr>