hi I have the following code chunk. is there any way to make the mutate and different fills in fewer lines of code? basically I copy a given column and then I select the fill's direction based on the new suffix of the column.
I'm not sure we have enough information about what it is you are trying to do based on your example. Will you explain in more detail what your goal is, and maybe an example of what the data looks like, and what you want it to look like at the end of your transformation?