Replies: 1 comment 6 replies
-
That's one way to do it. Another is to have the individual downstream branches keep track of the metadata you want. So instead of a branch that just returns |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I just starting to use this package, it's absolutely amazing! Thanks @wlandau
I am not sure if there is a better way to do this. I find myself in need of a table that captures all the dependencies between the dynamic branches, which can be joined to the
tar_meta()
table.This is my current approach:
Suppose we have a target called
raw_data_grouped
, which is a grouped data.frame with "group" as the iteration. Each group of the data.frame will enter task1, task2 and task3 in downstream targets based on the map pattern supplied.My use case is to group the table from
tar_meta()
by the grouping variabletar_group
, so that we can visualise a subset of the table bytar_group
in e.g. a Gantt chart (with parallel processing, arranging all targets by time is not ideal sometimes); or to generate better label such as "task1_groupA", "task1_groupB" rather than "task1_25a7518f", etc.Tony
Beta Was this translation helpful? Give feedback.
All reactions