rstudio-conf-2022 / build-tidy-tools

Building tidy tools workshop
https://rstd.io/btt
Creative Commons Attribution Share Alike 4.0 International
17 stars 7 forks source link

Functions Session 3: Tidy eval #7

Closed ijlyttle closed 2 years ago

ijlyttle commented 2 years ago

By the end of this session, you will be able to:

ijlyttle commented 2 years ago

This one is going to be a bear - it would not surprise me if it leaks into session 4 (by time). As a result, I plan to keep session 4 (by curriculum) light.

Section details

Our goal is to integrate tidyverse tidy-eval functions into your functions, so they work "seamlessly" for your users.

Tide eval overview [15 min]

Pass the dots [15 min]

.data and .env pronouns [10 mins]

!!! [5 mins]

Naming new columns using "{}" and := [5 mins]

across() [10 mins]

Exercise: build uss_make_seasons_final() [15 mins]

This will be a free-form exercise, where:

{{}} [15 mins]

At end

everything but the uss_results object.

References