Skip to main content

input_multiresource.estimate_extra_amb_time()

Estimate the time spent by extra ambulances on scene.

Usage

Source

input_multiresource.estimate_extra_amb_time(
    resources,
    amb_times,
)

Assumes extra ambulances remain occupied for the full job duration too (including conveyance) - this is a simplification.

Parameters

resources: pd.DataFrame

Resources data, for whole trust or filtered to a particular area.

amb_times: pd.DataFrame
Mean job time by response category, as returned by mean_job_time().

Returns

df: pd.DataFrame
Dataframe with count of ambulances at scene by response category, and an estimate of the time spent by any ambulance except the first on scene.