[ideas] tar_reduce - ability to aggregate/summarize multiple targets #1260
Closed
collinschwantes
started this conversation in
Ideas
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Help
Description
This idea is similar to whats discussed in #987. Lets say I have a set of targets that I need to combine into a single data frame. They all start with "xyz_". Ideally, I could run something like
tar_reduce(name = combined_df, values = starts_with("xyz_"), command = rbind)
which would give me my desired data frame. Any ideas on how to do this?The example below seems to work but maybe there is a better solution?
Beta Was this translation helpful? Give feedback.
All reactions