-
so that `mutate_(., f = ~mean(uq(var))` still uses the hybrid evaluator. (This requires that we switch to the "new" lazyeval first.)
Do we need hybrid handlers of uqs() and uqf()?
-
```
landed %
filter(page_url_path %in% c('/home', '/home/'),
page_view_start > "2018-07-01") %>%
select(tstamp = page_view_start, user_id = signed_in_user_id)
exercises %
fil…
-
I think we should consider breaking down `ggparliament()` into separate geoms.
This will give the user more flexibility over the final product and it should more like an extension to ggplot2 instead…
-
### loads required libraries
```{r}
library(tidyverse)
library(tidytext)
```
### creates to 2-row tibble, test simple operation (it works)
```{r}
df % select(id,descr) %>% unnest_tokens(word,de…
-
Dplyr NSE (non standard evaluation) functions are easy to use. SE functions however are much more difficult and there are only few examples in the documentation.
The [NSE vignette](https://cran.r-…
-
Hi all, I'm reading through the new `dplyr` programming vignette and am working on updating the syntax used in my packages. I'm confused how to properly pass in character vectors (e.g. for `select()`,…
-
This works to rename the `demand` column to `demand2`. Note we are using plyr's `rename`, not dplyr's `rename`:
```
library(dplyr)
num % plyr::rename(list(demand = paste0("demand", num))) # ok
```
…
-
Passing the name(s) of variables (as character) "just works" in most underscored ("programmatic") dplyr functions. For example:
```
tally(group_by_(my_data, "foo"), wt = bar)
```
But, it looks like …
-
Please refer to reprex below.
``` r
library(tidyverse)
data %
nest(-phase) -> nest_data
nest_data %>%
mutate(test = map2(data, phase, ~ rename(.x, !!.y := mean)))
#> Error in quos(.…
-
- make all functions compliant with tidyeval framework
- remove variables from ` utils::globalVariables(..` list where possible