Learn R Programming

rDataPipeline (version 0.60.0)

write_estimate: Write estimate component to TOML file

Description

Function to populate toml file with point-estimate type data. If a file already exists at the specified location, an additional component will be added.

Usage

write_estimate(value, handle, data_product, component, description)

Value

Returns a handle index associated with the just written component, which can be used to raise an issue if necessary

Arguments

value

an object of class numeric

handle

an object of class fdp, R6 containing metadata required by the Data Pipeline API

data_product

a string specifying the name of the data product

component

a string specifying a location within the toml file

description

a string describing the data product component

See Also

Other write functions: write_array(), write_distribution(), write_table()