starting to add manufacturer pages

This commit is contained in:
frankknoll
2022-02-11 10:38:56 +01:00
parent 490ac0a822
commit 883b6e73a1
7 changed files with 117473 additions and 11917 deletions

View File

@@ -385,7 +385,13 @@
" @staticmethod\n",
" def saveDataFrameAsHtml(dataFrame, file):\n",
" IOUtils.ensurePath(file)\n",
" dataFrame.to_html(file + '.html')\n",
" dataFrame.reset_index().to_html(\n",
" file + '.html',\n",
" index = False,\n",
" table_id = 'batchCodeTable',\n",
" classes = 'display',\n",
" justify = 'unset',\n",
" border = 0)\n",
"\n",
" @staticmethod\n",
" def ensurePath(file):\n",
@@ -1034,6 +1040,26 @@
"nonDomesticVaers = getNonDomesticVaers()"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "ae494a59",
"metadata": {},
"outputs": [],
"source": [
"allVaers = nonDomesticVaers # pd.concat([vaers, nonDomesticVaers])"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "e7ad1d12",
"metadata": {},
"outputs": [],
"source": [
"allVaers"
]
},
{
"cell_type": "code",
"execution_count": null,
@@ -1041,12 +1067,28 @@
"metadata": {},
"outputs": [],
"source": [
"nonDomesticCovid19Vaers = DataFrameFilter().filterByCovid19(nonDomesticVaers)\n",
"batchCodeTable = BatchCodeTableFactory._createSummationTableByVAX_LOT(nonDomesticCovid19Vaers)\n",
"allCovid19Vaers = DataFrameFilter().filterByCovid19(allVaers)\n",
"batchCodeTable = BatchCodeTableFactory._createSummationTableByVAX_LOT(allCovid19Vaers)\n",
"display(batchCodeTable)\n",
"IOUtils.saveDataFrame(batchCodeTable, \"results/batchCodes/international\")"
"IOUtils.saveDataFrame(batchCodeTable, \"results/batchCodes/all\")"
]
},
{
"cell_type": "markdown",
"id": "3d0aa163",
"metadata": {},
"source": [
"### All batch codes"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "23c5c089",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"id": "f677b620",

View File

@@ -7,6 +7,7 @@ FK-FIXME:
- Anzahl 'DIED', 'L_THREAT', 'DISABLE', 'HOSPITAL' und 'ER_VISIT' MÜSSEN immer noch korrekt gezählt werden nach createDataFrameFromDescr()
FK-TODO:
- rename project and html-page to VaccineAdverseEventInfo ?
- publish all figures and tables (as interactive HTML-Pages?)
- Vergleich Grippe mit Covid19
- https://www.howbadismybatch.com/geography.html nachprogrammieren