removing Lethality column from html page

This commit is contained in:
frankknoll
2022-02-15 09:55:22 +01:00
parent d574c1a6b7
commit 7aba936f16
3 changed files with 24 additions and 21 deletions

View File

@@ -31,11 +31,7 @@
[ [
{ {
searchable: false, searchable: false,
targets: [1, 2, 3, 4, 5, 6] targets: [1, 2, 3, 4, 5]
},
{
render: (data, type, row) => data.toFixed(2) + " %",
targets: [6]
} }
] ]
}); });
@@ -68,7 +64,6 @@
<th>Disabilities</th> <th>Disabilities</th>
<th>Life Threatening Illnesses</th> <th>Life Threatening Illnesses</th>
<th>Company</th> <th>Company</th>
<th>Lethality (%)</th>
</tr> </tr>
</thead> </thead>
</table> </table>

File diff suppressed because one or more lines are too long

View File

@@ -982,20 +982,6 @@
" return pd.concat([getAllVaers(), getNonDomesticVaers()])" " return pd.concat([getAllVaers(), getNonDomesticVaers()])"
] ]
}, },
{
"cell_type": "code",
"execution_count": null,
"id": "e15bdcc0",
"metadata": {},
"outputs": [],
"source": [
"def saveBatchCodeTable(vaers, file):\n",
" batchCodeTable = BatchCodeTableFactory.createBatchCodeTable(vaers, dose = '1')\n",
" batchCodeTable.index.set_names(\"Batch\", inplace = True)\n",
" display(batchCodeTable)\n",
" IOUtils.saveDataFrame(batchCodeTable, file)"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,
@@ -1034,6 +1020,28 @@
"### Batch codes" "### Batch codes"
] ]
}, },
{
"cell_type": "code",
"execution_count": null,
"id": "7edf87d7",
"metadata": {},
"outputs": [],
"source": [
"def saveBatchCodeTable(vaers, file):\n",
" batchCodeTable = BatchCodeTableFactory.createBatchCodeTable(vaers, dose = '1')\n",
" batchCodeTable = batchCodeTable[\n",
" [\n",
" 'Total Number of Adverse Reaction Reports',\n",
" 'Deaths',\n",
" 'Disabilities',\n",
" 'Life Threatening Illnesses',\n",
" 'Company'\n",
" ]]\n",
" batchCodeTable.index.set_names(\"Batch\", inplace = True)\n",
" display(batchCodeTable)\n",
" IOUtils.saveDataFrame(batchCodeTable, file)"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,