Learn R Programming

iNZightTools (version 1.13.0)

as_tibble: as_tibble

Description

as_tibble

Convert dictionary object to a 'tibble'

Usage

# S3 method for dictionary
as_tibble(
  x,
  n = length(x),
  include_other = TRUE,
  code_sep = ifelse(interactive(), "|", "\n"),
  ...
)

Arguments

x

a `dictionary` object

n

number of rows to convert

include_other

if `TRUE` other variables with be included in the tibble

code_sep

the separator used between codes and values