Change letter to number in a variable

Hello @CCV,

Happy to help you with your data! Can you provide just a bit more detail and data? Creating a reprex is the easiest way for us to help :slight_smile: (FAQ: How to do a minimal reproducible example ( reprex ) for beginners)