get_generic_dimension_xml: Get XML for generic dimension

Description Usage Arguments Examples

Description

Returns XML for generic dimensions Creates XML that will be used in Mondrian schema. Generic dimensions are currently all columns where dimension is TRUE in final_design and column is not of class date.

Usage

1
2
get_generic_dimension_xml(engine, final_design, table, time_table = NA,
  primary_key, debug = FALSE)

Arguments

engine

Data engine. See function create_schema for details.

final_design

Final schema design. See function get_final_design for details.

table

Table for which connection file should be created (used to generate name).

time_table

Time table. See function create_schema for details.

primary_key

Primary key of table.

debug

Print additional information useful for debugging.

Examples

1
2
3
final_design <- get_final_design('R',
 get_default_design('R',get_table_design('R','german_credit'),primary_key='id'))
get_generic_dimension_xml('R',final_design, 'german_credit',primary_key='id')

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