| Title: | Server Earnings Calculations |
|---|---|
| Description: | A collection of functions that allow servers (specifically BPKP) to summarize and verify shift earnings, identify composition of tips and hourly wage, and track performance through several metrics. |
| Authors: | Avery Bennett [aut, cre] |
| Maintainer: | Avery Bennett <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 0.1.0 |
| Built: | 2026-06-16 23:03:17 UTC |
| Source: | https://github.com/cran/bptips |
Calculates and summarizes earnings, sales, and performance metrics for a single server shift.
sum_shift( hours, hourly_wage, total_tips = 0, bar_tipout = 0, bp_tipout = 0, cash = 0, total_sales = NULL, bar_sales = NULL, bp_sales = NULL )sum_shift( hours, hourly_wage, total_tips = 0, bar_tipout = 0, bp_tipout = 0, cash = 0, total_sales = NULL, bar_sales = NULL, bp_sales = NULL )
hours |
Numeric. Total hours worked. |
hourly_wage |
Numeric. Hourly wage rate. |
total_tips |
Numeric. Total tips collected before tipout. Default 0. |
bar_tipout |
Numeric. Amount tipped out to bar. Default 0. |
bp_tipout |
Numeric. Amount tipped out to restaurant Default 0. |
cash |
Numeric. Cash tips received. Default 0. |
total_sales |
Numeric. Total sales from cash out report. Default NULL. |
bar_sales |
Numeric. Bar sales from cash out report. Default NULL. |
bp_sales |
Numeric. Restaurant section sales from cash out report. Default NULL. |
An object of class sum_shift containing four lists:
Raw inputs passed to the function: hours, hourly_wage, total_tips, bar_tipout, bp_tipout, cash
Total tips after tipout, plus cash. What you actually walk away with, in tips.
Sum of bar and restaurant tipout. Total amount that gets tipped out.
Take-home tips plus base pay. Full take-home for the shift before tax deductions.
Gross hourly rate including all tips collected before tipout, plus wage.
Total earnings divided by hours. What you made per hour, before tax deductions.
Total sales from cash out report.
Bar sales from cash out report.
Restaurant sales from cash out report.
The gap between reported sales and the amount of sales that was tipped out on.
Total tips as a percentage of total sales. Average customer tip percentage is a standard measure of server performance.
Tipout as a fraction of total tips. Of every dollar earned in tips, how much went to tipping out others.
Total earnings divided by total sales. For every dollar your tables spent, how much ended up in your pocket.
Take-home tips as a fraction of total tips. What proportion of tips you kept after tipout.
sum_shift(hours=6, hourly_wage=12, total_tips=200, bar_tipout=20, bp_tipout=14.18, cash=10, total_sales=1200, bar_sales=400, bp_sales=513.23)sum_shift(hours=6, hourly_wage=12, total_tips=200, bar_tipout=20, bp_tipout=14.18, cash=10, total_sales=1200, bar_sales=400, bp_sales=513.23)