Description Usage Arguments Examples
Ordered list to create a hierarchical dimension
1 |
... |
Ordered set of measures names |
1 2 3 4 5 6 | retail_orders %>%
pivot_rows(order_date = dim_hierarchy(
year = as.integer(format(orderdate, "%Y")),
month = as.integer(format(orderdate, "%m"))
)) %>%
pivot_values(sum(sales))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.