get_dimension_table {rolap}R Documentation

Get dimension table

Description

Get the table for the dimension indicated by its name.

Usage

get_dimension_table(db, name)

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

Arguments

db

A star_database object.

name

A string, dimension name.

Value

A tibble, dimension table.

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


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


[Package rolap version 2.5.1 Index]