bind_plans: Row-bind together drake plans \lifecyclestable

Description Usage Arguments See Also Examples

View source: R/drake_plan_helpers.R

Description

Combine drake plans together in a way that correctly fills in missing entries.

Usage

1

Arguments

...

Workflow plan data frames (see drake_plan()).

See Also

drake_plan(), make()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# You might need to refresh your data regularly (see ?triggers).
download_plan <- drake_plan(
  data = target(
    command = download_data(),
    trigger = "always"
  )
)
# But if the data don't change, the analyses don't need to change.
analysis_plan <- drake_plan(
  usage = get_usage_metrics(data),
  topline = scrape_topline_table(data)
)
your_plan <- bind_plans(download_plan, analysis_plan)
your_plan

wlandau-lilly/drake documentation built on Aug. 23, 2019, 1:29 p.m.