get_dimension_table: Get dimension table

View source: R/star_database.R

get_dimension_tableR 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")


rolap documentation built on May 29, 2024, 10:38 a.m.