Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filter on simultaneous aggregation fails #8

Closed
piccolbo opened this issue May 29, 2015 · 1 comment
Closed

filter on simultaneous aggregation fails #8

piccolbo opened this issue May 29, 2015 · 1 comment
Labels

Comments

@piccolbo
Copy link
Collaborator

bestworst <- daily %>%
select(flight, arr_delay) %>%
filter(arr_delay == min(arr_delay) || arr_delay == max(arr_delay))

ranked <- daily %>%
select(arr_delay) %>%
mutate(rank = rank(desc(arr_delay)))

@piccolbo piccolbo changed the title some query from a dplyr tutorial fail with incorrect SQL generated filter on simultaneous aggregation fails May 29, 2015
@piccolbo piccolbo added the bug label May 29, 2015
@piccolbo
Copy link
Collaborator Author

fixed as part of #27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant