# NOT RUN {
airlines_wrapped <-
dm_nycflights13() %>%
dm_wrap_tbl(airlines)
# The ptype is required for reconstruction.
# It can be an empty dm, only primary and foreign keys are considered.
ptype <- dm_ptype(dm_nycflights13())
airlines_wrapped %>%
dm_unnest_tbl(airlines, flights, ptype)
# }
Run the code above in your browser using DataLab