I would like to iterate through two lists using a function to redefine variables. I am using R (tidyverse functions mutate, case_when, map). I have time-series panel data that i