Description Usage Arguments Details
This approach enables users to specify arguments as quoted strings referencing column names (passes the first try, passes the second try), as unquoted column names evaluated via rlang's NSE (fails the first try, passes the second try), or as pure values (passes the first try, fails the second try).
1 |
data |
The data frame to try retrieving values from. |
arg |
The argument to evaluate. |
If the user provides an unquoted string that does not correspond to a column, this function returns NULL.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.