get_default_mapping: Get default mapping

Description Usage Arguments Details Examples

Description

This function returns data frame with default mapping of data types to schema properties for given data engine.

Usage

1

Arguments

engine

Data engine. 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
class Class of data type. Raw data types are aggregated into high-level groups. For example in PostgreSQL, data types smallint, integer, bigint have class integer. This grouping can be used when using argument aggregator in function create_schema.
type Data type as defined by data engine.
dimension If TRUE than columns with given data type will be used to create dimensions.
aggregator Defines default aggregators for given data type. Character string consisting of exactly six digits. If 1 than aggregator is enabled. If 0 then aggregator is disabled. Aggregators are defined in the following order: average, count, distinct-count, maximum, minimum, sum.

Examples for column aggregator:

Examples

1
2
3

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