select_vars_by_role {recodeflow} | R Documentation |
Selects variables from variables sheet based on passed roles
select_vars_by_role(roles, variables)
roles |
a vector containing a single or multiple roles to match by |
variables |
the variables sheet containing variable info |
a vector containing the variable names that match the passed roles