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.