Each method returns function of list of tables. The value of such function is named list being mapping between tables (names of list) and target number of rows (values of list). Such methods can be passed as nrows parameter of opt_default_table.

nrows_simul_constant(n, force = FALSE)

nrows_simul_ratio(ratio, total, force = FALSE)

Arguments

n

Default number of rows for each table when not defined in configuration file.

force

Should specified parameters overwrite related configuration parameters?

ratio, total

The parameters multiplications results with defining target number of rows for simulated table. See details section.

Details

Currently supported methods are:

  • nrows_simul_constant Returns n rows for each table when not defined in YAML parameter nrows

  • nrows_simul_ratio Returns nrows * ratio when nrows defined as YAML parameter and is integer. Returns nrows when nrows defined as YAML parameter and id fraction, Returns n * ratio otherwise.