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.