I have a df containing several variables that I want to pass through case_when to update them inside a custom function. One of them is a column with name YOY.
No matter h