Let\'s say I have the following data
user_df = read.table(text = "person_id job_number job_type start_date end_date 1 1 B 2012-11-01 20