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

Rewrite case_when statements using case_match() where appropriate #692

Closed
Moohan opened this issue Jun 20, 2023 · 1 comment · Fixed by #780
Closed

Rewrite case_when statements using case_match() where appropriate #692

Moohan opened this issue Jun 20, 2023 · 1 comment · Fixed by #780
Assignees
Labels
enhancement New feature or request

Comments

@Moohan
Copy link
Member

Moohan commented Jun 20, 2023

          This function should be re-written using `case_match()` e.g.
lca <- dplyr::case_match(
    ca_var,
    c("S12000033", "Aberdeen City") ~ "01",
    ... ,
   )

Originally posted by @Moohan in #638 (comment)

@Moohan Moohan added the enhancement New feature or request label Jun 21, 2023
@SwiftySalmon SwiftySalmon linked a pull request Aug 3, 2023 that will close this issue
@Jennit07
Copy link
Collaborator

PR completed #780 will close this issue now

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

Successfully merging a pull request may close this issue.

3 participants