synthetic_table: Create the blueprints of a synthetic table

Description Usage Arguments Value

View source: R/synthetic_table.R

Description

Create the blueprints of a synthetic table

Usage

1
synthetic_table(..., id = "synthetic table", construct_model = FALSE)

Arguments

...

column templates created with the various template_ methods or a single dataset

id

ID of the synthetic table (e.g. 'fst homepage dataset')

construct_model

If parameter ... is a table, this parameter is used to determine how the table model is generated. When 'construct_model = TRUE', the columns from the table are used to construct an approximation of the column's distribution. This approximation is used to generate the actual data. When 'construct_model = FALSE', the whole table is stored and generation of new columns is done by taking random samples from the original table.

Value

a synthetic table template that can be used to generate synthetic data using generate()


fstpackage/syntheticbench documentation built on Jan. 23, 2020, 10:13 a.m.