This PR extends the ingest branch refactor by splitting all workflows modules that correspond with specific data base outputs. This resulted in a major refactor of the inst/workflows folder and several tweaks to RunWorkflow(s) and other associated utility functions.
The biggest changes overall are:
-RunWorkflow() now returns only the result of it's last Step by default
-RunWorkflows is now run in sequence based on the meta$priority parameter in each workflow
The list returned by RunWorkflows is now named based on a new strResultNames parameter that pulls values from workflow$meta The default is c("Type","ID") which is parsed to {meta$Type}_{meta$ID}
Examples 1, 2 and 3 in inst/examples/3_ReportingWorkflows.R have been updated.
Test Notes/Sample Code
See examples in `inst/examples/3_ReportingWorkflows.R
Overview
This PR extends the
ingest
branch refactor by splitting all workflows modules that correspond with specific data base outputs. This resulted in a major refactor of theinst/workflows
folder and several tweaks toRunWorkflow(s)
and other associated utility functions.The biggest changes overall are: -
RunWorkflow()
now returns only the result of it's lastStep
by default -RunWorkflows
is now run in sequence based on themeta$priority
parameter in each workflowRunWorkflows
is now named based on a newstrResultNames
parameter that pulls values fromworkflow$meta
The default isc("Type","ID")
which is parsed to{meta$Type}_{meta$ID}
Examples 1, 2 and 3 in
inst/examples/3_ReportingWorkflows.R
have been updated.Test Notes/Sample Code
See examples in `inst/examples/3_ReportingWorkflows.R