Skip to content

Reconstructs an omop_plan previously written by ds.omop.plan.save. The parser is selected from the file extension (.json via jsonlite; .yaml/.yml via yaml). Atomic vectors and integer concept/offset fields are restored so the returned plan is accepted unchanged by ds.omop.plan.execute and produces an identical execution.

Usage

ds.omop.plan.load(file)

Arguments

file

Character; source path ending in .json, .yml, or .yaml.

Value

An omop_plan object.

Examples

if (FALSE) { # \dontrun{
plan <- ds.omop.plan.load("extraction.json")
ds.omop.plan.execute(plan, out = "D")
} # }