nested_tibble_from_list: Wrapper to nest a tibble from a list into parser result

View source: R/utils.R

nested_tibble_from_listR Documentation

Wrapper to nest a tibble from a list into parser result

Description

Mainly used for documenting the parser code.

Usage

nested_tibble_from_list(x)

Arguments

x

List which can be transformed to tibble using bind_rows

Value

List containing tibble created from x

Examples

library(tibble)
d <- list(list("a" = 1, "b" = "apple"), list("a" = 2, "b" = "banana"))
d
tb <- tibble(i = 1, j = nested_tibble_from_list(d))
tb

jirilukavsky/jspsychread documentation built on Jan. 29, 2023, 5:35 p.m.