add_read {rDataPipeline} | R Documentation |
add_read
Description
Add data product to read
block of user-written config file. Used in
combination with create_config()
for unit testing.
Usage
add_read(
path,
data_product,
component,
version,
use_data_product,
use_component,
use_version,
use_namespace
)
Arguments
path |
config file path |
data_product |
data_product field |
component |
component field |
version |
(optional) version field |
use_data_product |
(optional) use_data_product field |
use_component |
(optional) use_component field |
use_version |
(optional) use_version field |
use_namespace |
(optional) use_namespace field |
Examples
## Not run:
path <- "test_config/config.yaml"
# Write run_metadata block
create_config(path = path,
description = "test",
input_namespace = "test_user",
output_namespace = "test_user")
# Write read block
add_read(path = path,
data_product = "test/array",
component = "level/a/s/d/f/s",
version = "0.2.0")
## End(Not run)
[Package rDataPipeline version 0.54.1 Index]