get_default_design: Get default design

Description Usage Arguments Details Examples

Description

Combines outputs from default mapping (see get_default_mapping)) and table layout (see get_table_design).

Usage

1
get_default_design(engine, table_design, primary_key, debug = FALSE)

Arguments

engine

Data engine. See function create_schema for details.

table_design

Table design as returned by get_table_design

primary_key

Primary key. See function create_schema for details.

debug

Print additional information useful for debugging.

Details

If successful, dataset with the following columns is returned:

Column Description
name Column name
class See get_default_mapping
type See get_default_mapping
dimension See get_default_mapping
aggregator Defines default aggregators for given data type. Character string consisting of exactly 6 digits.
is_primary_key Flag indicating column with primary key. 1 if primary key, 0 otherwise.
clean_name User-friendly column name.

Examples

1
get_default_design('R',get_table_design('R','german_credit'),primary_key='id')

tomasgreif/mondrianr documentation built on May 31, 2019, 5:15 p.m.