-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Feat/read mitigations #426
base: master
Are you sure you want to change the base?
Conversation
JSONSchemaStore is an abstract class, its fetch method needs to be defined. I've defined it in a Store class, so using new Store() is not instanciating an abstract class anymore. Also, with this change, we can now cross-reference things between different schema files.
JSONSchemaStore is an abstract class, its fetch method needs to be defined. I've defined it in a Store class, so using new Store() is not instanciating an abstract class anymore. Also, with this change, we can now cross-reference things between different schema files.
add quicktype and yaml-loader
Feat/schema
… happens and is handled)
This pull request is being automatically deployed with ZEIT Now (learn more). |
@alebrand just sketched this a bit. We'll have to see how we can align this with the JHU initiative. |
@rneher I tried mapping the HIT categories to the covid19_scenario ones, could you have a look to the attached file? I made suggestions for extra fields (column C), otherwise many categories end up as "NA". We would end up with the following categories in covid19_scenarios:
|
There are many other types of measures or variations thereof. It would be good to collect an exhaustive list of those, together with a target reduction factor. Other examples:
Ideally, people would package these individual measures into policy decision for each country / dates. Issue is... some measures are interrelated. |
Parser for JHU HIT mitigation measures. Still incomplete, I mention in mitigations_JHU.py some remaining Todos, to be discussed.
Hello! After discussion with @rneher I put it to milestone 1.2: What help is needed on the engineering side to make this happen? cc @nnoll |
Maybe for starters, measure values should be provided in the CSV rather than hardcoded from categories. It's highly unlikely that the same category of measures has the same effect in all countries. As there's a different level of consciousness/self-quarantining/implementation. In some countries, the most accurate numbers is coming from death rates as there's 100% test coverage of deceased from respiratory illness. In others, the most accurate ones are serious illnesses as they test only hospitalized patients. Most have mixed strategy, so a manual fitting is always required. |
For example, it's reasonable to assume that school closures would have a different effect based on demographics in each country. |
@Vanuan Thanks for your ideas. Yes, we planned to process JHU data for mitigation interventions, which has detailed information for different countries. After initial prototype with hardcoded data, we could then write a script for that and we would then automatically fetch and update the data every day, similarly to how we do with case counts. But the entire adventure turned out to be quite tricky and in the end this thing stuck in an undetermined state... |
Here's some content for inspiration: https://www.youtube.com/watch?v=BTLZu-1IMcE I think for starters we could try gathering 3 sources of data:
Only after that we can start categorizing different mitigation measures and building a prediction model of their impact. So, how about getting this file https://github.com/neherlab/covid19_scenarios/pull/426/files#diff-41177582a7c92a97242de0047786712d , removing all columns except the territory and the period, adding a column for manual mitigation value and using this piece while throwing out everything else: |
Related issues and PRs
preparatory PR for crowdsourced mitigation measures.
Description
Use data from countries and regions to prepopulate the scenarios with measures.
Impacted Areas in the application
only the data directory.
Testing
non yet.