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.
write_estimate(value, handle, data_product, component, description)
an object of class numeric
an object of class fdp, R6
containing metadata required
by the Data Pipeline API
a string
specifying the name of the data product
a string
specifying a location within the toml file
a string
describing the data product component
Returns a handle index associated with the just written component, which can be used to raise an issue if necessary
Other write functions:
write_array()
,
write_distribution()
,
write_table()