The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Package {bptips}


Title: Server Earnings Calculations
Version: 0.1.0
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.
License: MIT + file LICENSE
Encoding: UTF-8
RoxygenNote: 8.0.0
NeedsCompilation: no
Packaged: 2026-06-09 03:32:14 UTC; averybennett
Author: Avery Bennett [aut, cre]
Maintainer: Avery Bennett <avery.bennett@uwaterloo.ca>
Repository: CRAN
Date/Publication: 2026-06-16 20:20:02 UTC

Summarize a server shift

Description

Calculates and summarizes earnings, sales, and performance metrics for a single server shift.

Usage

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
)

Arguments

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.

Value

An object of class sum_shift containing four lists:

inputs

Raw inputs passed to the function: hours, hourly_wage, total_tips, bar_tipout, bp_tipout, cash

earnings
takehome_tips

Total tips after tipout, plus cash. What you actually walk away with, in tips.

tipout

Sum of bar and restaurant tipout. Total amount that gets tipped out.

total_earnings

Take-home tips plus base pay. Full take-home for the shift before tax deductions.

hourly_earnings

Gross hourly rate including all tips collected before tipout, plus wage.

takehome_hourly_earnings

Total earnings divided by hours. What you made per hour, before tax deductions.

sales
total_sales

Total sales from cash out report.

bar_sales

Bar sales from cash out report.

bp_sales

Restaurant sales from cash out report.

total_sales_not_subject_to_tipout

The gap between reported sales and the amount of sales that was tipped out on.

performance
tip_percentage

Total tips as a percentage of total sales. Average customer tip percentage is a standard measure of server performance.

tip_burden

Tipout as a fraction of total tips. Of every dollar earned in tips, how much went to tipping out others.

earnings_efficiency

Total earnings divided by total sales. For every dollar your tables spent, how much ended up in your pocket.

tips_retention_rate

Take-home tips as a fraction of total tips. What proportion of tips you kept after tipout.

Examples

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)

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.