ProportionalReportingRatiosPersister.saveProportionalReportingRatios()

This commit is contained in:
frankknoll
2023-10-12 08:36:18 +02:00
parent b844a78613
commit ecbc4232ba
10000 changed files with 10010 additions and 5 deletions

View File

@@ -435,6 +435,8 @@
"from SymptomsCausedByVaccines.HtmlUpdater import updateHtmlFile\n",
"from SymptomsCausedByVaccines.PrrByVaccineBySymptomFactory import PrrByVaccineBySymptomFactory\n",
"from SymptomsCausedByVaccines.PrrByVaccineBySymptomTransformer import PrrByVaccineBySymptomTransformer\n",
"from SymptomsCausedByVaccines.ProportionalReportingRatiosPersister import saveProportionalReportingRatios\n",
"import os\n",
"import pandas as pd"
]
},
@@ -477,11 +479,13 @@
{
"cell_type": "code",
"execution_count": null,
"id": "d863007f",
"id": "0b40071c",
"metadata": {},
"outputs": [],
"source": [
"prrByVaccineBySymptomWithoutZeroPrrs.to_excel('tmp/prrByVaccineBySymptomWithoutZeroPrrs.xlsx')"
"saveProportionalReportingRatios(\n",
" prrByVaccineBySymptomWithoutZeroPrrs,\n",
" directory = os.path.normpath(os.getcwd() + '/../docs/data/ProportionalReportingRatios/'))"
]
},
{

View File

@@ -5,9 +5,12 @@ FK-FIXME:
FK-TODO:
- add google captcha to batchCodeTable.html
- Symptomhistogramm
- create an interface where people
1. could input a symptom, and see which vaccines are worst, or
2. input a vaccine name, and see which symptoms are strongest for it.
- http://www.howbadismybatch.info/SymptomsCausedByVaccines/index.html
create an interface where people
1. input a vaccine name, and see which symptoms are strongest for it, or
2. could input a symptom, and see which vaccines are worst.
It would be good if the user can simply choose a symptom from a drop down
then read off all the vaccine prrs (Proportional Reporting Ratios) that have scores.
anacron job:
sudo cp src/intensivstationen_howbadismybatch.sh /etc/cron.daily/intensivstationen_howbadismybatch