I would like to create a column in a data.frame, placing the first time that the year appears in each id.
That is, I have this data:
example <- stru