Skip to content

How is this with tidyverse 1.0? recode_nuts #16

@antaldaniel

Description

@antaldaniel

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 )) )

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions