add_write | R Documentation |
Add data product to read
block of user-written config file. Used in
combination with create_config()
for unit testing.
add_write(
path,
data_product,
description,
version,
file_type,
use_data_product,
use_component,
use_version,
use_namespace
)
path |
config file path |
data_product |
data_product field |
description |
component field |
version |
(optional) version field |
file_type |
(optional) file type 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 |
## 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_write(path = path,
data_product = "test/array",
description = "data product description",
version = "0.2.0")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.