Description Usage Arguments Examples
Creates a SQL pivot query. Similar to the tidyr::spread
function.
1 |
con |
a Database connection |
from |
the from clause |
select |
variables to select in addition to levels. |
key |
Variable columns originate from |
value |
The expression to evaluate to create the values |
levels |
the levels of key to turn into columns. |
... |
arguments to pass on or ignore. |
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.