The set of methods that can be used on schema object returned by schema_source function.

schema_update_source(
  schema,
  file,
  faker_opts = getOption("dfkr_options", default_faker_opts)
)

schema_get_table(schema, table_name)

schema_plot_deps(schema, table_name)

schema_simulate(schema)

Arguments

schema

Schema object keeping table dependency graph.

file

Path to schema configuration yaml file.

faker_opts

Structure sourcing and columns simulation config.

table_name

Name of the table.

Details

The methods are:

  • schema_update_source Update schema dependency graph based on provided file.

  • schema_simulate Run data simulation process.

  • schema_get_table Get simulated table value.

  • schema_plot_deps Plot inter or inner table dependecies.