Learn R Programming

rolap (version 2.5.1)

as_star_database: Get a star database from a flat table

Description

Obtain a star database from the flat table and a star schema.

Usage

as_star_database(ft, schema)

# S3 method for flat_table as_star_database(ft, schema)

Value

A star_database object.

Arguments

ft

A flat_table object.

schema

A star_schema object.

See Also

star_database

Other flat table definition functions: flat_table(), get_table(), get_unknown_value_defined(), get_unknown_values(), read_flat_table_file(), read_flat_table_folder()

Examples

Run this code

db <- flat_table('ft_num', ft_num) |>
  as_star_database(mrs_cause_schema)

Run the code above in your browser using DataLab