View source: R/star_schema_enrich_dimension.R
enrich_dimension_export | R Documentation |
Export the selected attributes of a dimension, without repeated combinations, to enrich the dimension.
enrich_dimension_export(st, name = NULL, attributes = NULL)
## S3 method for class 'star_schema'
enrich_dimension_export(st, name = NULL, attributes = NULL)
st |
A |
name |
A string, name of the dimension. |
attributes |
A vector of attribute names. |
If it is a role dimension they cannot be exported, you have to work with the associated role playing dimension.
A tibble
object.
Other dimension enrichment functions:
enrich_dimension_import()
,
enrich_dimension_import_test()
tb <-
enrich_dimension_export(st_mrs_age,
name = "when_common",
attributes = c("week", "year"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.