DRDataRaft/ docs
GitHub ↗

workflow-components()

Products own their sources, preparation, checks and destination. There is no separate modular workflow object or execution method. Recipes remain reusable definitions and never execute when attached.

Usage

dr_add_recipe(x, recipe)

dr_update_recipe(x, recipe)

dr_remove_recipe(x)

dr_extract_recipe(x)

Arguments

x
A product definition.


recipe
A recipe from dr_recipe().

Value

An updated product definition.

Examples

preparation <- dr_recipe() |> dr_step_mutate(amount = round(amount, 2))
dr_product("orders", data.frame(amount = 10.123)) |>
  dr_add_recipe(preparation) |> dr_run(write = FALSE) |> dr_collect()
Documentation source snapshot · View source at d9cb454 ↗
Code examples are documented source examples; they are not executed in this website build.

Search documentation

Search functions, packages and guides.