I have a problem where I have duplicate observations that have different hire dates and each hire date has a different salary listed. For example:
Name Hire date Salary
Maria Johnson, 04/21/2016, $21,450
Maria Johnson, 09/15/2016, $21,450
maria Johnson, 03/12/2017, $23,640
How do I drop the duplicates by name but only keep the most recent hire date and current salary?
Name Hire date Salary
Maria Johnson, 04/21/2016, $21,450
Maria Johnson, 09/15/2016, $21,450
maria Johnson, 03/12/2017, $23,640
How do I drop the duplicates by name but only keep the most recent hire date and current salary?
Comment