powered by
dm_select_tbl() keeps the selected tables and their relationships, optionally renaming them.
dm_select_tbl()
dm_rename_tbl() renames tables.
dm_rename_tbl()
dm_select_tbl(dm, ...)dm_rename_tbl(dm, ...)
dm_rename_tbl(dm, ...)
A dm object.
dm
One or more table names of the tables of the dm object. tidyselect is supported, see dplyr::select() for details on the semantics.
tidyselect
dplyr::select()
The input dm with tables renamed or removed.
dm_rm_tbl()
# NOT RUN { dm_nycflights13() %>% dm_select_tbl(airports, fl = flights) # } # NOT RUN { dm_nycflights13() %>% dm_rename_tbl(ap = airports, fl = flights) # }
Run the code above in your browser using DataLab