I created a mapping table in R and have provided an example of what it looks like:
ex <- data.frame("id" = c(rep(1234,7)), "claim" = c(