Skip to contents

Mainly used for documenting the parser code.

Usage

list_column_of_vectors(x, replace_null = T)

Arguments

x

Vector

replace_null

True if NULL should be replaced with NA

Value

List containing x

Examples

library(tibble)
tb <- tibble(i = 1, j = list_column_of_vectors(1:10))
tb
#> # A tibble: 1 × 2
#>       i j         
#>   <dbl> <list>    
#> 1     1 <int [10]>
tb$j[[1]]
#>  [1]  1  2  3  4  5  6  7  8  9 10