Learn R Programming

businessPlanR (version 0.1-0)

calc_staff: Calculate the number of staff persons necessary to complete a task

Description

Calculates two values (split by 'boom_months') and returns both in a vector, so that there's never a shortage of staff.

Usage

calc_staff(
  task,
  workdays = 205,
  hours = 8,
  rnd = 0.25,
  boom_months = 6,
  boom_pct = 0.5
)

Value

A named vector with two elements,

high (number of staff needed for months with higher workload) and low (number of staff needed for months with lower workload).

Arguments

task

The total number of hours to get done in one year.

workdays

Numeric, average total working days for a staff person. 205 is the conservative lower end for Germany, see https://www.deutschlandinzahlen.de/tab/deutschland/arbeitsmarkt/arbeitszeit/arbeitstage.

hours

Number of hours per working day.

rnd

Round numbers up to this next fraction of a part-time job.

boom_months

Number of months with highest workload, e.g., festival summer

boom_pct

Total fraction of task that needs to be done during boom_months.

Details

Set boom_months=6 and boom_pct=.5 to get all hours spread evenly across the year.

Examples

Run this code
calc_staff(12328)

Run the code above in your browser using DataLab