dm_ptype {dm} | R Documentation |
The prototype contains all tables, all primary and foreign keys, but no data. All tables are truncated and converted to zero-row tibbles. Column names retain their type. This is useful for performing creation and population of a database in separate steps.
dm_ptype(dm)
dm |
A |
dm_financial() %>%
dm_ptype()
dm_financial() %>%
dm_ptype() %>%
dm_nrow()