Get the names of the role playing dimensions
Source:R/constellation.R
get_role_playing_dimension_names.Rd
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.
Usage
get_role_playing_dimension_names(db)
# S3 method for star_database
get_role_playing_dimension_names(db)
See also
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()
Examples
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()