You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The package is going to be used to process raw data into helpful visualisations for decision-makers.
Write a function to take data in the cleaned form (produced by issue #24), and to apply the package calculations.
The function will return a data frame of calculated data, including results for:
Load
Target queue size
Target capacity
Waiting list pressure
This result will be consumed by multiple downstream reporting functions, to visualise the information in different ways (eg. by specialty, by hospital site, by priority ranking)
The text was updated successfully, but these errors were encountered:
I think it might be possible to achieve this using similar techniques to what I have put in the comments for #23 with variadic functions (my new learning for today ! ) and with pmap from the {purr} package.
@ThomUK If you have been playing with some real data then I just wondered if you had done any work that solves this? If not I'm happy to give it a first go/look
I have something partially built. It would be good to think about the incoming data format. Do we prefer a single dataframe with a column for specialty, or a list in a dataframe for each specialty?
The initial version i have is a list, but I may try to convert to a flat dataframe.
I will push up my work so far to a branch this weekend...
I think this is closely linked to the pull request #63 for issue #23 which includes a bulk function to create synthetic data for multiple sites and specialties. It may result in changes being required to the structure of this data and consequently the functions, but its straightforward
The package is going to be used to process raw data into helpful visualisations for decision-makers.
Write a function to take data in the cleaned form (produced by issue #24), and to apply the package calculations.
The function will return a data frame of calculated data, including results for:
This result will be consumed by multiple downstream reporting functions, to visualise the information in different ways (eg. by specialty, by hospital site, by priority ranking)
The text was updated successfully, but these errors were encountered: