Description Usage Arguments Details Examples
Macro to convert R to OData syntax
1 2 3 |
expr |
Expression to convert to OData |
to_odata takes unquote R code and quotes its input. Use !! to unquote an argument. to_odata_ requires its argument to be quoted already.
Only a subset of R is supported.
* arithmatic The operators +, -, *, / and
* strings (characters in R) toupper, tolower, startsWith, endsWith, nchar, paste, paste0, trimws
* arrays (lists in R) list, append, length
* Formulae become lambdas in OData (x ~ x$Name == "John")
Every unknown function is passed as is. If the function name is surrounded by percent signs it's treated as an infix operator.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.