fetch_custom_adapter: Fetch a custom syberia IO adapter.

Description Usage Arguments Value

View source: R/adapter.r

Description

Custom adapters are defined in lib/adapters from the root of the syberia project. Placing a file there with, for example, name 'foo.R', will cause fetch_custom_adapter('foo') to return an appropriate IO adapter. The file 'foo.R' must contain a 'read', 'write', and (optionally) 'format' function, which will be used to construct the adapter. (See the definition of the adapter reference class.)

Usage

1
fetch_custom_adapter(keyword, modified_check = FALSE)

Arguments

keyword

character. The keyword for the adapter (e.g., 'file', 's3', etc.)

modified_check

logical. If TRUE, will return a logical indicating whether or not the customer adapter has been modified. By default, FALSE.

Value

an adapter object (defined in this package, syberiaStages)


robertzk/syberiaStages documentation built on May 27, 2019, 11:38 a.m.