loadPipeline: Load a pipeline from an XML file

Description Usage Arguments Details Value See Also Examples

Description

Reads an XML file given by ref and path and interprets to produce a pipeline.

Usage

1
2
loadPipeline(name, ref, path = NULL, namespaces = c(oa =
  "http://www.openapi.org/2014/"))

Arguments

name

Name of pipeline

ref

Path to XML file or a vessel object

path

Search path (optional)

namespaces

Namespaces used in XML document

Details

If the pipeline XML file is not valid OpenAPI module XML this function will return an error.

If path is not set and conduit needs to search for the file the default search paths are used.

Value

pipeline list

See Also

pipeline

Examples

1
2
3
pln1xml <- system.file("extdata", "simpleGraph", "pipeline.xml",
                       package = "conduit")
pln1 <- loadPipeline(name = "simpleGraph", ref = pln1xml)

anhinton/conduit documentation built on May 10, 2019, 11:48 a.m.