Skip to contents

Save a RecipeWorkflow to a JSON file

Usage

save_workflow(wf, file)

Arguments

wf

A RecipeWorkflow object

file

Character file path

Value

NULL (called for side-effect)

Examples

wf <- RecipeWorkflow$new(
  name = "Example", description = "Test",
  survey_type = "ech", edition = "2023",
  recipe_ids = "r_001", estimation_type = "svymean"
)
f <- tempfile(fileext = ".json")
save_workflow(wf, f)
#> Workflow saved to /tmp/RtmpkNIXgg/file26a25fa89db2.json