This quick-fix branch just implements Jacks comments. The main change is it now uses case_when rather than nested ifelse functions (saving a lot of code; I checked it outputs the same number of cases). Please skim diffs and approve/merge. Cheers!
@gavinc01 @jackhannah95
This quick-fix branch just implements Jacks comments. The main change is it now uses case_when rather than nested ifelse functions (saving a lot of code; I checked it outputs the same number of cases). Please skim diffs and approve/merge. Cheers! @gavinc01 @jackhannah95