Hospital Staff Shift Scheduling

This dataset provides detailed, structured records of hospital staff shift schedules, including assignments, shift swaps, absences, and overtime metrics. It enables comprehensive workforce analytics, compliance monitoring, and operational optimization for healthcare organizations seeking to improve staff management and patient care.

  • opened 6 times
  • last updated 21 Jul 2025
  • by GoMask
The brief that made it

Workforce optimization and shift pattern analysis

Sample rows

preview · 8 of 200 rows · all 17 columns
staff_idstringshift_typestringovertime_hoursfloatswap_requestedbooleanassigned_bystringstaff_namestringrolestringdepartmentstringshift_idstringshift_datedateshift_start_timedatetimeshift_end_timedatetimeswap_approvedbooleanswap_with_staff_idstringabsence_typestringabsence_approvedbooleannotesstring
D1001day0falsescheduler01Dr. Emily M. KingdoctorCardiologyS10012024-05-012024-05-01T06:00:002024-05-01T14:00:00blankblanknoneblankblank
N5014night2falsescheduler02Lauren KimnurseICUS10022024-05-012024-05-01T19:00:002024-05-02T07:00:00blankblanknoneblankStayed late due to emergency admission
T0231day0falsescheduler03Andres PateltechnicianRadiologyS10032024-05-022024-05-02T08:00:002024-05-02T16:00:00blankblanknoneblankblank
N3055evening0falsescheduler01Monica LinursePediatricsS10042024-05-022024-05-02T12:00:002024-05-02T20:00:00blankblanknoneblankblank
A1120day0falsesystem_batchJesse CarteradminAdministrationS10052024-05-012024-05-01T08:30:002024-05-01T16:30:00blankblanknoneblankblank
P0035day0falsescheduler04Samantha OrtegapharmacistPharmacyS10062024-05-012024-05-01T10:00:002024-05-01T18:00:00blankblankpersonalfalseRequested personal leave, not approved
TH3012day0falserehab_mgrRosa NguyentherapistRehabilitationS10072024-05-022024-05-02T09:00:002024-05-02T13:00:00blankblanknoneblankblank
D1002day1.5falsescheduler01Alexander J. SinghdoctorERS10082024-05-032024-05-03T07:00:002024-05-03T17:00:00blankblanknoneblankCovered late trauma case

What the 200 rows show

from the 200-row sample

Night (shift type) stands out: mean overtime_hours is 1.0, against 0.05 for the rest.

  • 9%swap_requested = true
  • 0.0median overtime_hours
  • 5absence types
  • 7roles
  • 15departments
Mean overtime_hours by shift_type200 rows
0120.05day93 rows1.0night40 rows0.05evening51 rows0.0on-call16 rows
overtime_hours200 rows, in bands of 0.5
0901801729346213024overtime_hours →

Median 0.0, from 0.0 to 3.8.

assigned_by188 rows with a value · 12 left blank
  1. system_batch24
  2. scheduler0122
  3. scheduler0317
  4. rehab_mgr17
  5. autogen16
  6. scheduler0215
  7. scheduler0415
  8. scheduler0515
  9. psy_unit9
  10. experimental_bot8
17 columns by typefrom the column list below
  • string 10
  • float 1
  • date 1
  • datetime 2
  • boolean 3

Columns

17 columns in four groups
blueprint · 17 columns
columntypedescriptionexample
Text 10 columns
staff_idstringUnique identifier for each medical staff memberD1001
staff_namestringFull name of the staff memberDr. Emily M. King
rolestringProfessional role of the staff member (e.g., nurse, doctor, technician)7 valuesdoctor
departmentstringDepartment or unit where the staff member is assigned (e.g., ER, ICU, Pediatrics)Cardiology
shift_idstringUnique identifier for each shift assignmentuniqueS1001
shift_typestringType of shift (e.g., day, night, evening, on-call)day · night · evening · on-callday
assigned_bystringIdentifier or name of the scheduler or system that assigned the shiftoptionalscheduler01
swap_with_staff_idstringStaff ID of the person with whom the shift was swapped, if applicableoptionalN7001
absence_typestringType of absence (e.g., sick, vacation, personal, none)sick · vacation · personal · unexcused · nonenone
notesstringAdditional notes or comments related to the shift or staff assignmentoptionalCovered late trauma case
Numbers 1 column
overtime_hoursfloatNumber of overtime hours worked during this shift (0 if none)0 or more0
Dates and times 3 columns
shift_datedateDate of the scheduled shift2024-05-01
shift_start_timedatetimeStart time of the scheduled shift2024-05-01T06:00:00
shift_end_timedatetimeEnd time of the scheduled shift2024-05-01T14:00:00
True or false 3 columns
swap_requestedbooleanIndicates if a shift swap was requested for this shiftfalse
swap_approvedbooleanIndicates if the shift swap was approvedoptionalfalse
absence_approvedbooleanIndicates if the absence was officially approvedoptionalfalse

Use it for

  • swap requested9%17 of 200 rowsmean overtime hours b…0.05day1.0night0.05even…0.0on-c…

    A healthcare dashboard

    The swap_requested rate, overtime_hours by shift_type and a breakdown of assigned_by. Excel, Power BI or Tableau.

  • Why do the 40 night rows have a mean overtime_hours of 1.0?

    A root-cause class exercise

    Hand out the rows and one question. The answer is in the data, not in the brief.

  • A software demo

    Believable staffs with staff_name, role and department to fill a screen in front of a buyer.

Not quite right?

Make it yours.

Same 17 columns, your size and your rules. See 20 rows before you pay.

Preview 20 rows free

1,000 rows: $1.99 · 10,000: $12.99One-time. No subscription. All prices

This dataset200 rows17 columns
Yours1,000 rows17 columns

blueprint · hospital-staff-shift-scheduling

Behind this dataset

Same schema. As many rows as you need.

These 200 rows came out of a blueprint — 17 columns with generation rules behind each one. Open it in Data Factory to retune a column, add your own, wire in foreign keys, and run it at the size you actually need.

Rules it was built with
  • Assignments include staff ID, role, and shift
  • Track absences, swaps, and overtime per staff
  • Compliance with rest period rules enforced
  • Coverage ensured for all departments
  • Shifts labeled as day/night/holiday
Rows
Open the blueprint in Data Factory

1 credit per row. Preview 20 rows free. Buy rows for the full run.

Exports
CSV, JSON, JSONL, Parquet, SQL, Excel, TSV, XML
Licence
yours to use, including commercially
API slug
hospital-staff-shift-scheduling

What should your data show?

Preview 20 rows free
No signup. No card.