dm_pack_tbl | R Documentation |
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).
dm_pack_tbl(dm, parent_table, into = NULL)
dm |
A dm. |
parent_table |
A terminal table with one child table. |
into |
The table to pack |
dm_wrap_tbl()
, dm_unwrap_tbl()
, dm_nest_tbl()
.
dm_packed <-
dm_nycflights13() %>%
dm_pack_tbl(planes)
dm_packed
dm_packed$flights
dm_packed$flights$planes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.