parse values based on groups in R
问题 I have a very large dataset and a sample of that looks something like the one below: | Id | Name | Start_Date | End_Date | |----|---------|------------|------------| | 10 | Mark | 4/2/1999 | 7/5/2018 | | 10 | | 1/1/2000 | 9/24/2018 | | 25 | | 5/3/1968 | 6/3/2000 | | 25 | | 6/6/2009 | 4/23/2010 | | 25 | Anthony | 2/20/2010 | 7/21/2016 | | 25 | | 9/12/2014 | 11/26/2019 | I need to parse the names from Name column based on their Id such that the output table looks like: | Id | Name | Start_Date