Open TSchiefer opened 5 years ago
%>% cdm_select(table, -is_pk())
instead?dm
anymore). Or am I missing something?cdm_flatten_to_tbl()
in #66 in a way, that in case of an empty ellipsis, all FK-relations pointing away from start
are being used to "haul the tables in". Would you not do this?@moodymudskipper: I added this to the current milestone since we're working on dm_flatten_to_tbl()
anyway in this milestone.
Let's split dm_flatten_to_tbl()
and dm_squash_to_tbl()
internally so that there is a function that creates a plan, and one that applies the plan. At some point we could discuss how to expose such plan objects (also used e.g. in wrapping/unwrapping) and how to compute on them.
IMHO
cdm_flatten_to_tbl()
should feature:drop_key_cols
, since we often do not want to keep the code-columns used as keys, but only the real info (thenreunite_parent_child()
might come in handy)start
-table