IF with Mutate Filter

I have a couple fields that will come in one of two values, r or s. I'd like to convert them to Relaxed or Strict as they come, but there may be instances where the field has no value. Is there a more efficient way than writing two if statements for each field?

Disregard, realized I could just use mutate's gsub function.

Or the translate filter :slight_smile:

Ooooo, I hadn't looked at translate before...that looks neat. I'll have to keep that in my back pocket.