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

Add support for CASE expressions when tidyverse = TRUE #16

Closed
ianmcook opened this issue Sep 9, 2019 · 1 comment
Closed

Add support for CASE expressions when tidyverse = TRUE #16

ianmcook opened this issue Sep 9, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@ianmcook
Copy link
Owner

ianmcook commented Sep 9, 2019

Add support for translating SQL CASE expressions to R expressions that use dplyr::case_when() in the tidyverse = TRUE case. This should support both forms of the SQL CASE expression:

CASE a
  WHEN b THEN c
  WHEN d THEN e
  ELSE f
END
CASE
  WHEN a == b THEN c
  WHEN a == d THEN e
  ELSE f
END
@ianmcook
Copy link
Owner Author

ianmcook commented Sep 9, 2019

Added in a51fc01

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

No branches or pull requests

1 participant