create_time_dimension_postgresql: Create time dimension for PostgreSQL

Description Usage Arguments Examples

Description

This function creates time dimension in PostgreSQL. for given data engine.

Usage

1
2
create_time_dimension_postgresql(engine, final_design, table, time_table,
  con = NA, debug = FALSE, force = FALSE)

Arguments

engine

Data engine. See function create_schema for details.

final_design

See function get_final_design for details.

table

Table with original data

time_table

Name of time dimension (fully qualified table name)

con

See function create_schema for details.

debug

See function create_schema for details.

force

If TRUE then existing table will be removed. Use with care! Default is FALSE

Examples

1
2
3
4
5
## Not run: 
create_time_dimension_postgresql('PostgreSQL',final_design,'some_table','dw.timetest',
     con=c('user','password','database','host','port'),force=TRUE)

## End(Not run)

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