A star_database
object is created from a star_schema
object and a flat
table that contains the data from which database instances are derived.
Arguments
- schema
A
star_schema
object.- instances
A flat table to define the database instances according to the schema.
- unknown_value
A string, value used to replace NA values in dimensions.
Details
Measures and measures of the star_schema
must correspond to the names of
the columns of the flat table.
Since NA values cause problems when doing Join operations between tables, you can indicate the value that will be used to replace them before doing these operations. If none is indicated, a default value is taken.
See also
Other star database definition functions:
get_dimension_names()
,
get_dimension_table()
,
get_fact_names()
,
get_role_playing_dimension_names()
,
get_table_names()
,
group_dimension_instances()
,
role_playing_dimension()