powered by
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 star_schema enrich_dimension_export(st, name = NULL, attributes = NULL)
# S3 method for star_schema enrich_dimension_export(st, name = NULL, attributes = NULL)
A tibble object.
tibble
A star_schema object.
star_schema
A string, name of the dimension.
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.
Other dimension enrichment functions: enrich_dimension_import_test(), enrich_dimension_import()
enrich_dimension_import_test()
enrich_dimension_import()
tb <- enrich_dimension_export(st_mrs_age, name = "when_common", attributes = c("week", "year"))
Run the code above in your browser using DataLab