Description Usage Arguments Value Examples
View source: R/talk_dplyr_function.R
Determine the 'dplyr' function from the command
1  | talk_dplyr_function(cmd)
 | 
cmd | 
 A command to pass, that will determine which
  | 
A string
1 2 3  | cmds = c("Sort df by  mpg", "arrange the data by mpg", "group_by mpg")
res = sapply(cmds, talk_dplyr_function)
testthat::expect_true(talk_dplyr_function("group_by MPG") == "group_by")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.