I have a dataset where each individual (id) has an e_date, and since each individual could have more than one e_date, I\'m trying to get the earli
Another answer that uses dplyr's filter command:
dta %>% group_by(id) %>% filter(date == min(date))