Skip to contents

Read a RecipeWorkflow from a JSON file

Usage

read_workflow(file)

Arguments

file

Character file path

Value

A RecipeWorkflow object

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/file26a22e701832.json
wf2 <- read_workflow(f)