ID Error
EID0062, EID0175 1
EID0063 1
EID0063 1
EID0064 1
EID0069 1
EID0069 0
EID0072 0
EID0075 0
EID0075 0
EID0093 1
EID0023 0
EID0013 1
EID0062, EID0175 1
I have ~200 rows with ~150 unique IDs. I would like to create a new data.frame with just the unique IDs and have the column Error be representative if there is ever an error for that person. For example, for EID0069, there is both an error and non-error, but I would like the new df to show that person as an error. Like this:
ID Error
EID0062, EID0175 1
EID0063 1
EID0064 1
EID0069 1
EID0072 0
EID0075 0
EID0093 1
EID0023 0
EID0013 1
All the best!