Work State Resolution - AmericanManufacturingCohort/HR-CDM-Data-Transformation GitHub Wiki

Employee Lifecycle

We defined employee lifecycle as a series of stages that a worker advances through in an organization from the starting recruitment until their resignation, termination or retirement. The figure below illustrates the possible rotation in the lifecycle that we have extracted from analyzing the AMC-HR data set and applying the standardized terms for the work state. More details on the data analysis will be provided in the next sub-section.

"Employee Lifecycle"

The description for each work state is given as follows:

  1. Work. It is described as active work status.
  2. LOA. It is short for β€œLeave of Absence”, which is described as a period of time that one must be away from one's primary job while maintaining the status of an employee.
  3. FMLA. It is short for β€œFamily and Medical Leave Act”, which is described as unpaid leave for qualified medical and family reasons, such as, pregnancy, personal or family illness, or military leave.
  4. STD. It is short for β€œShort Term Disability”, which is described as to leave from work due to a temporary disability, such as pregnancy, accidental injuries, and illness.
  5. LTD. It is short for β€œLong Term Disability”, which is described as to leave from work due to an extended illness or after a disabling accident.
  6. Suspend. It is described as a period of time that one is asked to not engage any work at all due to medical or health reasons or as part of disciplinary action.
  7. Terminate. It is described as a departure from a job or the end of an employee's duration with the employer.
  8. Retire. It is described as a withdrawal from one's position or occupation, usually after reaching a certain age.

Deciding a Work State

Four variables from the combined data set are used to create the decision tree for deciding the work state and they are: empstats, action, reasoncd, and Elig. The table below renders the tree in a tabular format where the path sequence (from the root to the bottom) is depicted by the first four columns from left to right, and the expected output is revealed in the last column. The 'βœ•' character indicates a skip in the conditions, so for example, the first row states a rule that says if empstats equal to "2" then the work_state's value will be "STD", skipping the need for checking the action, reasoncd and Elig variables.

Input Variables Output
empstats action reasoncd Elig work_state
2 βœ• βœ• βœ• STD
3 βœ• βœ• βœ• LTD
4, 5, 8, 9, D, T βœ• βœ• 0 Terminate
βœ• βœ• 1 Retire
6 βœ• βœ• βœ• LOA
L, P Leave of Absence,
LEAVE OF ABSENCE,
Paid Leave of Absence
FMLA,
Military,
MILIT
βœ• FMLA
Short Term Disability,
SHORT TERM DISABILITY
βœ• βœ• STD
Long Term Disability,
LONG TERM DISABILITY
βœ• βœ• LTD
βœ• βœ• βœ• LOA
7, Q, R βœ• βœ• βœ• Retire
A βœ• βœ• βœ• Work
S βœ• βœ• βœ• Suspend
I New Status βœ• βœ• Work
N Position Name,
Transferred,
Lateral
βœ• βœ• Work
O Leave - Personal/Paid,
Leave - Workers Comp,
Leave - Educational,
Leave - Union
βœ• βœ• LOA
New Position,
In Range Incr,
Leave Layoff,
Business Unit,
Position Eval,
Position Change,
Performance,
New Status,
New Position,
Job Category,
Audit Review,
Hrly Pos Reeval,
Audit Change??,
Contract Change,
Audit Change Only,
Salary Adj,
BU Name,
Special Adjust
βœ• βœ• Work
Leave - Military,
Leave - Family (FMLA)
βœ• βœ• FMLA
Layoff - Separation βœ• βœ• Suspend
Layoff - Hourly: Benefits Expi,
Layoff - Temporary/Regular,
Layoff - Permanent (Obsolete 1,
Layoff - Dept Shutdown,
Layoff - Disciplinary,
Layoff - Plant Shutdown
βœ• βœ• Terminate
Leave - Disability βœ• βœ• STD
Leave - Long Term Disability βœ• βœ• LTD
0, J, X βœ• βœ• βœ• Unknown
NULL Leave of Absence Education,
Paid Leave,
Leave of Absence Unpaid,
Leave of Absence Union,
Leave of Absence Worker's Compensation,
Leave of Absence Union Business Agent
βœ• βœ• LOA
Hire,
Active Assignment,
Active Probation
βœ• βœ• Work
Leave of Absence FMLA,
Leave of Absence Military,
Paid Leave Military
βœ• βœ• FMLA
Layoff Legacy,
Suspended Disciplinary,
Layoff Separation
βœ• βœ• Suspend
Terminated,
Layoff Plant Shut Down Union Only Use SBE,
Layoff Union Use Only SBE,
Layoff Special ISP,
Layoff SBE,
Layoff Plant Shut Down no SBE,
Layoff Plant Shut Down SBE,
Layoff Department Shut Down,
Layoff Benefit Expired,
Layoff No SBE
βœ• 1 Retire
βœ• 0 Terminate
Leave of Absence STD βœ• βœ• STD
Leave of Absence LTD,
Leave of Absence Legacy
βœ• βœ• LTD
⚠️ **GitHub.com Fallback** ⚠️