Open joethorley opened 2 years ago
selecting <- function(.data, ..., .fix = NULL)
selecting(data)
"select(col1, somethingelse, daa, daa2)"
selecting(data, .fix = "'")
"select('col1', 'somethingelse', 'daa', 'daa2')"
selecting(data, matches("^d"), .fix = '"')
'select("daa", "daa2")'
a great way to say only select informative columns and the convert to code that no longer depends on values (to avoid breakage)