Description Usage Arguments Examples
Create a pivot table
1 2 | pivot_query(from, key, value, levels, select = ident(),
order_by = NULL, fill = NULL)
|
from |
the from clause |
key |
Variable columns originate from |
value |
The expression to evaluate to create the values |
levels |
the levels of key to turn into columns. |
select |
variables to select in addition to levels. |
order_by |
optional order by clause |
fill |
optional value to fill in structural missing values. It is the responsibility of the user to ensure type compatibility. |
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.