View source: R/constellation.R
| get_role_playing_dimension_names | R Documentation | 
Role playing dimensions are defined in star_databases. When integrating several star_databases to form a constellation, role playing dimensions are also integrated. This function allows you to see the result.
get_role_playing_dimension_names(db)
## S3 method for class 'star_database'
get_role_playing_dimension_names(db)
db | 
 A   | 
A list of vector of strings with dimension names.
star_schema, flat_table
Other star database definition functions: 
get_dimension_names(),
get_dimension_table(),
get_fact_names(),
get_table_names(),
group_dimension_instances(),
role_playing_dimension(),
star_database()
db1 <- star_database(mrs_cause_schema_rpd, ft_cause_rpd) |>
  role_playing_dimension(
    rpd = "When",
    roles = c("When Available", "When Received")
  )
db2 <- star_database(mrs_age_schema_rpd, ft_age_rpd) |>
  role_playing_dimension(
    rpd = "When Arrived",
    roles = c("When Available")
  )
rpd <- constellation("MRS", db1, db2) |>
  get_role_playing_dimension_names()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.