Learn R Programming

rolap (version 2.5.1)

get_dimension_table: Get dimension table

Description

Get the table for the dimension indicated by its name.

Usage

get_dimension_table(db, name)

# S3 method for star_database get_dimension_table(db, name = NULL)

Value

A tibble, dimension table.

Arguments

db

A star_database object.

name

A string, dimension name.

See Also

star_schema, flat_table

Other star database definition functions: get_dimension_names(), get_fact_names(), get_role_playing_dimension_names(), get_table_names(), group_dimension_instances(), role_playing_dimension(), star_database()

Examples

Run this code

table <- star_database(mrs_cause_schema, ft_num) |>
  get_dimension_table("where")

Run the code above in your browser using DataLab