I have a data like:
I want to create an additional column time_spent which calculates the days between when the person was hired and when was terminated in R,