Skip to content

Commit

Permalink
Update step_dues to parse out Associate vs. Affiliate
Browse files Browse the repository at this point in the history
Minor update to parse out Associate vs. Affiliate in `MD_Number` categories
  • Loading branch information
fxqmu authored Feb 6, 2024
1 parent b1480e2 commit 1ac0dfa
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions R/step_dues.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ step_dues <- function(df, year) {
case_when(
Membership_Dues == "Student Affiliate" ~ 1,
Membership_Dues == "Associate" ~ 2,
Membership_Dues == "Affiliate" ~ 2,
Membership_Dues == "International Affiliate" ~ 3,
Membership_Dues == "International Associate" ~ 3,
Membership_Dues == "Affiliate" ~ 3,
# Do not need to differentiate across US vs. international
#Membership_Dues == "International Affiliate" ~ 3,
#Membership_Dues == "International Associate" ~ 3,
Membership_Dues == "Member" ~ 4,
Membership_Dues == "Fellow" ~ 5,
Membership_Dues == "Retired International" ~ 6,
Expand Down

0 comments on commit 1ac0dfa

Please sign in to comment.