Description Usage Arguments Value
Populates example sales data based on mtcars, state, HairEyeColor datasets.
1 2 | populate_star(N = 100000L, Y = c(2010L, 2014L), surrogate.keys = FALSE,
hierarchies = TRUE, seed = 1L)
|
N |
integer count of rows in fact table before sub-aggregation to all dimensions. |
Y |
integer vector of year range (scalar or length 2) to generate time dimension, default |
surrogate.keys |
logical if integer sequence column should be used or the lowest granularity natural key. |
hierarchies |
logical default FALSE, if TRUE the third element in list will be returned with hierarchy as list of character column names. List can be used when creating data.cube. |
seed |
integer used for |
List of two list named fact and dims. The fact list keeps single fact data.table sub-aggregated to all dimensions. The dims list keeps five dimension data.tables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.