~/talk

Working with names and expressions in your tidy eval code

Talkat rstudio::conf 2019 · 2019-01-15..01-18· [developer-experience]
slides:none on file

Shows how passing ... into dplyr lets a wrapper accept either column selections or column actions and demonstrates two concrete wrappers: a selection-based summary built on summarize_at that returns per-group summaries, and an action-based version using transmute/summarize_all that creates new vectors then summarizes them. Includes a real fix: when gathering results exclude grouping variables so grouped tables work. Works as described but requires careful choice between selection vs action semantics.

AI-written summary · about

  1. 0:00Tidy eval in R
  2. 1:33Why quoting matters
  3. 2:39Selection vs action verbs
  4. 4:50Selection helpers
  5. 6:37Challenges in functions
  6. 7:19Simplest functions
  7. 8:23Selection with purrr
  8. 10:32Selection to action
  9. 11:58Grouped summaries
  10. 13:32Best practices
  11. 14:37Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.