def METHOD_NAME(emplid, data):
    timeline = GradTimeline(emplid)
    for d in data:
        if d[0] == 'ProgramStatusChange':
            h = ProgramStatusChange(*(d[1:]))
        elif d[0] == 'ApplProgramChange':
            h = ApplProgramChange(*(d[1:]))
        elif d[0] == 'GradSemester':
            h = GradSemester(*(d[1:]))
        elif d[0] == 'CommitteeMembership':
            h = CommitteeMembership(*(d[1:]))
        elif d[0] == 'GradMetadata':
            h = GradMetadata(*(d[1:]))
        elif d[0] == 'GradResearchArea':
            h = GradResearchArea(*(d[1:]))
        else:
            raise ValueError(d[0])
        timeline.add(h)
    return timeline