reference_dimension {geomultistar} | R Documentation |
Reference a dimension
Description
Given a dimension, transform the fact table so that the attributes of the dimension indicated as a parameter, which are in the fact table, are replaced by the other attributes of the dimension.
Usage
reference_dimension(ft, dimension, attributes, conversion = TRUE)
Arguments
ft |
A |
dimension |
A |
attributes |
A vector of attribute names, attributes used to reference the dimension. |
conversion |
A boolean, indicates whether the attributes need to be transformed. |
Details
It is used to replace a set of attributes in the fact table with the generated key of the dimension.
If necessary, it is also used for the inverse operation: replace the generated key with the rest of attributes (dereference a dimension).
Value
A fact_table
object.
[Package geomultistar version 1.2.1 Index]