Shift/Date utilities

Functions for dealing with 6.004 shifts and dates

shift_end_time

Get shift end time

shift_start_time

Convert shift strings to datetimes

staffing_by_shift

Who's on duty now?

time_to_shift

Convert datetime to shift string

time_to_gcal

Format time for Google Calendar use

time_to_hour

Converts a date to a decimal hour component

time_to_weekday

Day string to ordered factor

Queue data server

Functions for connecting to the queue-log database

get_pool

Get database pool

student_q

Get student queue

staff_q

Get staff queue

Staffing server

Functions for dealing with 6004.mit.edu and getting the data into a nice form

get_staffing

Gets the current staffing schedule from the server

staffing_by_shift

Who's on duty now?

staffing_to_list

Convert staffing dataframe to a list

group_schedule

Groups unprocessed dataframe into sessions

schedule_plot_attendance

Attendance plot

schedule_plot_base

Schedule plot basics

schedule_plot_horizontal

Title

schedule_plot_vertical

Title