the-strategy-unit / 723_mh_covid_surge_modelling Goto Github PK
View Code? Open in Web Editor NEWModelling of the surge caused by covid to Mental Health Service
Home Page: https://strategyunit.shinyapps.io/MH_Surge_Modelling/
License: Other
Modelling of the surge caused by covid to Mental Health Service
Home Page: https://strategyunit.shinyapps.io/MH_Surge_Modelling/
License: Other
The first column shows "title" instead of the correct text for the column heading
add a tabItem/menuItem to the UI for a summary of surge demand by condition (as per page 14 of report)
Fix NSE reference of variable, or find alternative solution
now, if you instead
the app should behave consistently like in the second scenario
add a tabItem/menuItem to the UI for a summary of surge demand by condition (as per page 12 of report)
The number of months input box allows extreme values, e.g. 230, which can take a long time to model. Limits should be set (e.g. 0 to 23)
add a tabItem/menuItem to the UI for a summary of surge demand by condition (as per page 13 of report)
Each population subgroup should be able to have a different scenario selected for it. Currently you can only select a single scenario for every population subgroup
At the moment the only way to alter the demand data is to download parameters and update the excel file, then upload this new file.
It would be useful to be able to directly enter this data in the app
There should be a input box for the size of each population subgroup, as well as an input box for the % of that population subgroup that we are using in the model. E.g. population a = 100,000, we model 10% of this group = 10,000
Create a visual of the population groups at baseline, colours by their higher level descriptions (page 10 of report). Suggestion of visualisation is to use a circle packing method
separate the different parameter sections into
separate the g2c and c2t percentages into individual sliders
add rule to ensure that the g2c percentages for that group sums to less than 1
add rule to ensure that the c2t percentages for that condition sums to less than 1
add the currently hidden treatment parameters (months, decay) to the "demand" section
move the "Success % of treatment" to the "demand"
rename the "demand" section to "treatment"
condition pcnt slider is using the treatment pcnt figure instead
parameter download is not currently working, it is downloading a html document that doesn't appear to contain any of the param data
Connect internal subpopulation groups or switch to treemap plot?
The sum of the conditions sliders should not exceed 100%: currently this is enforced by setting the max-value of each slider independently to enforce this limit.
Instead, we should set the max-value's to 100% and use the following algorithm:
allow a user to upload a params.json file that they have previously downloaded and replace the currently loaded params item.
Will need to check that the params is valid (e.g. is of a similar structure to the existing dataset)
as this is no longer a "concept" it probably should be renamed
Month is displaying as NaN in tooltips
If you update any of the treatment sliders, only the currently selected population group's model is re-run, so the values are not correctly updated.
We could use javascript to save the currently set param's used, and then reload these when a user comes back to the app. This would save them having to download/upload params.
If the first treatment option is renamed and changed the values aren't correctly updated when a file is uploaded. A temporary fix is to re-run the upload a second time
steps to recreate:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.