Prepare a driver summary using the final allocation

prepare_driver_summary(allocated_data, filter_vector)

Arguments

allocated_data

the data that has passed through all allocation stages (apply_threshold() is the final stage). This data has had filters applied to fields bu:department

filter_vector

Named character vector. Entries represent the filter (from Rshiny) to be applied to allocated_data. Values of the vector either NA (meaning no filter) or character. Names of vector refer to bu:department

Value

data.frame