R script and data files for Career Trajectories chapter