bind_plans: Row-bind together drake plans *[Stable]*

View source: R/drake_plan_helpers.R

bind_plansR Documentation

Row-bind together drake plans [Stable]

Description

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

Usage

bind_plans(...)

Arguments

...

Workflow plan data frames (see drake_plan()).

See Also

drake_plan(), make()

Examples

# 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

ropensci/drake documentation built on March 4, 2024, 6:02 p.m.