Skip to content
New issue

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

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

Already on GitHub? # to your account

How is this with tidyverse 1.0? recode_nuts #16

Open
antaldaniel opened this issue Jun 6, 2021 · 0 comments
Open

How is this with tidyverse 1.0? recode_nuts #16

antaldaniel opened this issue Jun 6, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@antaldaniel
Copy link
Collaborator

valid_different_codes <- all_valid_nuts_codes %>%
dplyr::filter_at( vars(tidyselect::all_of(geo_var)), ## should be changed with accross
dplyr::all_vars(. %in% different_codes)) %>% ## and replacing . with rlang's .data pronoun
mutate ( years = as.numeric(gsub("code_", "" , .data$nuts )) )

@antaldaniel antaldaniel changed the title How is this with tidyverse 1.0? How is this with tidyverse 1.0? recode_nuts Jun 6, 2021
@antaldaniel antaldaniel added the enhancement New feature or request label Jun 11, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant