write_distribution: Write distribution component to TOML file

View source: R/write_distribution.R

write_distributionR Documentation

Write distribution component to TOML file

Description

Write distribution component to TOML file

Usage

write_distribution(
  distribution,
  parameters,
  handle,
  data_product,
  component,
  description
)

Arguments

distribution

a string specifying the name of the distribution

parameters

a list specifying the distribution parameters

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

Value

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

See Also

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


ScottishCovidResponse/SCRCdataAPI documentation built on July 26, 2023, 9:47 p.m.