Table: fct_staff_employment_history

Type: Fact Columns: 14

Description

Staff emplyment history information. The data grain is staff level within a business.

Columns

Column Name Type Description
business_id string

Unique identifier for the business

staff_employment_history_key int32

Surrogate key integer for staff within a business (will be unique on this table)

staff_id string

Unique identifier for the staff

last_login_date timestamp[ns]

The date when the staff last logged into Kangarootime (connects to the dim_date table; NULL indicates that the staff has not logged in)

last_login_time_key int32

Surrogate key for the time when the staff last logged into Kangarootime (a surrogate key to the dim_time table; -1 indicates that the staff has not logged in)

invited_date timestamp[ns]

The date when the staff was sent an email invitation to work (connects to the dim_date table; NULL indicates that no invite was sent)

invited_time_key int32

Surrogate key for the time when the staff was sent an email invitation to work (a surrogate key to the dim_time table; -1 indicates that no invite was sent)

invite_accepted_date timestamp[ns]

The date when the staff accepted the invitation to work (connects to the dim_date table; NULL indicates that the invitation has not been accepted)

invite_accepted_time_key int32

Surrogate key for the time when the staff accepted the invitation to work (a surrogate key to the dim_time table; -1 indicates that the invitation has not been accepted)

employment_start_date date32[day]

The date when the staff is to begin employment (connects to the dim_date table; NULL indicates that the start date has not been set yet; if start date is greater than end date then the employee has been rehired without a new end date)

employment_end_date date32[day]

The date when the staff is to end employment (connects to the dim_date table; NULL indicates that the end date has not been set yet; if start date is greater than end date then the employee has been rehired without a new end date)

reason_for_leaving string

The reason for ending employment (No value indicates employment has not ended); enumerated: 'New Job', 'Going Back To School', 'Staying Home', 'Moving', 'Terminated', 'Dissatisfied', 'No Call No Show', 'Walk Out', 'Temporary', 'Leave Of Absence', 'Resigned', or 'Unspecified'

data_current_as_of_utc timestamp[ns] No description provided.
source_type string No description provided.