Adds one or more new tables to a dm
.
Existing tables are not overwritten.
dm_add_tbl(dm, ..., repair = "unique", quiet = FALSE)
dm | A |
---|---|
... | One or more tables to add to the |
repair | Either a string or a function. If a string, it must
be one of
The |
quiet | By default, the user is informed of any renaming
caused by repairing the names. This only concerns unique and
universal repairing. Set |
The initial dm
with the additional table(s).
#> ── Metadata ──────────────────────────────────────────────────────────────────── #> Tables: `mtcars`, `flowers` #> Columns: 16 #> Primary keys: 0 #> Foreign keys: 0# renaming table names if necessary (depending on the `repair` argument) dm() %>% dm_add_tbl(new_tbl = mtcars, new_tbl = iris)#>#> #>#> ── Metadata ──────────────────────────────────────────────────────────────────── #> Tables: `new_tbl...1`, `new_tbl...2` #> Columns: 16 #> Primary keys: 0 #> Foreign keys: 0