Description Usage Arguments Details Value See Also Examples
Select one or more expressions evaluated in the context of a data object.
1 2 3 4 5 |
_data |
a data object. |
... |
expressions to evaluate in the context of the data object. |
The select
function evaluates a set of expressions in the context
of a data object, returning the results as a data object with the results
as variables.
The default implementation of the method coerces its _data
argument
to a dataset, then uses scope
to evaluate the expressions in the
context of the converted dataset. For the result, named arguments get these
names as variable names; unnamed arguments get the deparsed expressions as
names.
The expressions must evaluate to data objects with the same number of rows
as _data
.
If the _data
object has keys, then these get propagated to the result.
A data object with the evaluated expressions as variables.
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.