I have a dataset where information has been collected for each ID multiple times. I would like to subset and remove the earliest date. For example:
ID | Timestamp | Sex | Income |
---|---|---|---|
AC1 | 2015-08-25 | ||
AC1 | 2016-10-05 | ||
AC1 | 2016-12-04 |
To this:
ID | Timestamp | Sex | Income |
---|---|---|---|
AC1 | 2016-10-05 | ||
AC1 | 2016-12-04 |
Any ideas to do this on R?