special_simulation: Set of functions defining special simulation methods for...

Description Usage Arguments Details

Description

Whenever there's a need to simulate column using specific function (as a spec parameter in YAML configuration file), such method should be defined in one of opt_simul_spec_<column_type> functions.

Usage

1
2
3
4
5
6
7
8
9

Arguments

name

Function for simulating personal names.

...

Other custom special methods.

distr

Function for simulating data from desired distribution.

Details

Currently defined special methods are:

Each 'spec' method receives n parameter (the desired number of rows to simulate), all the default column-based parameters (type, unique, not_null, etc.) but also a special one named spec_params that are applied to selected distribution simulation method.

See for example simul_spec_character_name definition.


DataFakeR documentation built on Sept. 24, 2021, 1:06 a.m.