dm_pack_tbl {dm} | R Documentation |
dm_pack_tbl()
Description
dm_pack_tbl()
converts a parent table to a packed column in its child
table.
The parent table should not have parent tables itself (i.e. it needs to be a
terminal parent table).
Usage
dm_pack_tbl(dm, parent_table, into = NULL)
Arguments
dm |
A dm. |
parent_table |
A terminal table with one child table. |
into |
The table to pack |
See Also
dm_wrap_tbl()
, dm_unwrap_tbl()
, dm_nest_tbl()
.
Examples
dm_packed <-
dm_nycflights13() %>%
dm_pack_tbl(planes)
dm_packed
dm_packed$flights
dm_packed$flights$planes
[Package dm version 1.0.10 Index]