tb_help: 'tibble' wrappers

View source: R/tb.R

tb_helpR Documentation

tibble wrappers

Description

Thin wrappers of functions from package tibble.

Usage

tb_help()

tb(
  ...,
  .rows = NULL,
  .name_repair = c("check_unique", "unique", "universal", "minimal")
)

trb(...)

tbr(..., .name_repair = c("check_unique", "unique", "universal", "minimal"))

as_tb(
  x,
  ...,
  .rows = NULL,
  .name_repair = c("check_unique", "unique", "universal", "minimal"),
  rownames = pkgconfig::get_config("tibble::rownames", NULL)
)

is_tb(x)

Value

A tibble.

Functions

  • tb(): Thinly wraps tibble.

  • trb(): Thinly wraps tribble.

  • tbr(): Thinly wraps tibble_row.

  • as_tb(): Thinly wraps as_tibble.

  • is_tb(): Thinly wraps is_tibble.

See Also

Other wraps: basics_help(), dp(), dt(), gg_help(), gr, rd_help()

Examples

tb(letters = letters, numbers = 1:26, constant = pi)
trb(~letters, ~numbers, ~constant,
    "a"     , 1       , pi       ,
    "b"     , 2       , pi       ,
    "c"     , 3       , pi       )
tbr("a", 1, pi)
as_tb(list(letters = letters, numbers = 1:26, constant = pi))
is_tb(tb(letters))

j-martineau/uj documentation built on Sept. 14, 2024, 4:40 a.m.