A wrapper around tidyr::nest()
which stores the nested data into JSON columns.
Arguments
- .data
A data frame, a data frame extension (e.g. a tibble), or a lazy data frame (e.g. from dbplyr or dtplyr).
- ...
<
tidy-select
> Columns to pack, specified using name-variable pairs of the formnew_col = c(col1, col2, col3)
. The right hand side can be any valid tidy select expression.- .names_sep
If
NULL
, the default, the names will be left as is.