“The client will be supplying the column specification.”
“I need to use that spec to process the data.”
Id | Time | Perf |
---|---|---|
Alice | 1 | 10 |
Alice | 2 | 11 |
Alice | 3 | 11 |
Bob | 1 | 7 |
Bob | 2 | 7 |
Bob | 3 | 9 |
Id | has_mastery |
---|---|
Alice | TRUE |
Bob | FALSE |
Error in grouped_df_impl(data, unname(vars), drop) :
Column `id_cols` is unknown
Id | has_mastery |
---|---|
Alice | TRUE |
Bob | FALSE |
Carol | TRUE |
Dan | TRUE |
Elaine | TRUE |
# A tibble: 50 x 3
# Groups: id [5]
id time perf
<chr> <int> <int>
1 Alice 0 15
2 Alice 1 14
Error in grouped_df_impl(data, unname(vars), drop) :
Column `colname` is unknown
quos() quotes its arguments and returns them as a list of quosures
Use UQ
or !!
to unquote an arguement. Evaluated immediately in surrounding context.