This commit is contained in:
frankknoll
2022-02-10 16:42:12 +01:00
parent c01ed333c0
commit e8dc784227
2 changed files with 11941 additions and 198 deletions

11916
index.html

File diff suppressed because it is too large Load Diff

View File

@@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"id": "9de5907f-18f5-4cb1-903e-26028ff1fa03",
"metadata": {},
"outputs": [],
@@ -16,7 +16,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"id": "a271254b",
"metadata": {},
"outputs": [],
@@ -72,7 +72,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"id": "7b5d6df0",
"metadata": {},
"outputs": [],
@@ -99,7 +99,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"id": "6b639196",
"metadata": {},
"outputs": [],
@@ -137,7 +137,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"id": "3ebcba86",
"metadata": {},
"outputs": [],
@@ -167,7 +167,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": null,
"id": "c62cfaff",
"metadata": {},
"outputs": [],
@@ -218,7 +218,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": null,
"id": "99945ca8",
"metadata": {},
"outputs": [],
@@ -270,7 +270,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": null,
"id": "41d4fa30",
"metadata": {},
"outputs": [],
@@ -298,7 +298,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": null,
"id": "c40bd0f0",
"metadata": {},
"outputs": [],
@@ -328,7 +328,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": null,
"id": "09e6b511",
"metadata": {},
"outputs": [],
@@ -363,7 +363,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": null,
"id": "6aa28541",
"metadata": {},
"outputs": [],
@@ -396,7 +396,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": null,
"id": "3dacedfd",
"metadata": {},
"outputs": [],
@@ -406,7 +406,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": null,
"id": "fcc855dd",
"metadata": {},
"outputs": [],
@@ -420,7 +420,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": null,
"id": "ccb9838d",
"metadata": {},
"outputs": [],
@@ -459,7 +459,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": null,
"id": "e59a1825",
"metadata": {},
"outputs": [],
@@ -638,7 +638,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": null,
"id": "e14465d7",
"metadata": {},
"outputs": [],
@@ -751,7 +751,7 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": null,
"id": "44c121ec",
"metadata": {},
"outputs": [],
@@ -828,7 +828,7 @@
},
{
"cell_type": "code",
"execution_count": 18,
"execution_count": null,
"id": "c784bfef",
"metadata": {},
"outputs": [],
@@ -908,51 +908,17 @@
},
{
"cell_type": "code",
"execution_count": 19,
"execution_count": null,
"id": "5a8bff1b",
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"test_createBatchCodeTable (__main__.BatchCodeTableFactoryTest) ... ok\n",
"test_createBatchCodeTable2 (__main__.BatchCodeTableFactoryTest) ... ok\n",
"testcreateSummationTable (__main__.BatchCodeTableFactoryTest) ... ok\n",
"test_filterByCovid19_filterBy (__main__.DataFrameFilterTest) ... ok\n",
"test_filterByDose (__main__.DataFrameFilterTest) ... ok\n",
"test_filterByFirstDose (__main__.DataFrameFilterTest) ... ok\n",
"test_filterBySecondDose (__main__.DataFrameFilterTest) ... ok\n",
"test_convertVAX_LOTColumnToUpperCase (__main__.DataFrameNormalizerTest) ... ok\n",
"test_createDoseByMonthTable (__main__.DoseTableFactoryTest) ... ok\n",
"test_createDoseTable (__main__.DoseTableFactoryTest) ... ok\n",
"test_createBatchCodeTableByCountry (__main__.InternationalLotTableFactoryTest) ... ok\n",
"test_createInternationalLotTable (__main__.InternationalLotTableFactoryTest) ... ok\n",
"\n",
"----------------------------------------------------------------------\n",
"Ran 12 tests in 1.077s\n",
"\n",
"OK\n"
]
},
{
"data": {
"text/plain": [
"<unittest.main.TestProgram at 0x7f7718e46e50>"
]
},
"execution_count": 19,
"metadata": {},
"output_type": "execute_result"
}
],
"outputs": [],
"source": [
"unittest.main(argv = [''], verbosity = 2, exit = False)"
]
},
{
"cell_type": "code",
"execution_count": 20,
"execution_count": null,
"id": "86e0e4f2",
"metadata": {},
"outputs": [],
@@ -972,7 +938,7 @@
},
{
"cell_type": "code",
"execution_count": 21,
"execution_count": null,
"id": "e15bdcc0",
"metadata": {},
"outputs": [],
@@ -985,7 +951,7 @@
},
{
"cell_type": "code",
"execution_count": 22,
"execution_count": null,
"id": "9ee014eb",
"metadata": {},
"outputs": [],
@@ -1003,149 +969,10 @@
},
{
"cell_type": "code",
"execution_count": 23,
"execution_count": null,
"id": "ab170c16",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>ADRs</th>\n",
" <th>DEATHS</th>\n",
" <th>DISABILITIES</th>\n",
" <th>LIFE THREATENING ILLNESSES</th>\n",
" </tr>\n",
" <tr>\n",
" <th>VAX_LOT</th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>039K20A</th>\n",
" <td>4139</td>\n",
" <td>71</td>\n",
" <td>27</td>\n",
" <td>34</td>\n",
" </tr>\n",
" <tr>\n",
" <th>026L20A</th>\n",
" <td>3472</td>\n",
" <td>27</td>\n",
" <td>26</td>\n",
" <td>25</td>\n",
" </tr>\n",
" <tr>\n",
" <th>011J20A</th>\n",
" <td>3353</td>\n",
" <td>34</td>\n",
" <td>34</td>\n",
" <td>30</td>\n",
" </tr>\n",
" <tr>\n",
" <th>025L20A</th>\n",
" <td>2576</td>\n",
" <td>42</td>\n",
" <td>20</td>\n",
" <td>27</td>\n",
" </tr>\n",
" <tr>\n",
" <th>012L20A</th>\n",
" <td>2502</td>\n",
" <td>64</td>\n",
" <td>34</td>\n",
" <td>24</td>\n",
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>028O20A</th>\n",
" <td>1</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>028M20A</th>\n",
" <td>1</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>028LZON</th>\n",
" <td>1</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>028LL208</th>\n",
" <td>1</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ZTC540693</th>\n",
" <td>1</td>\n",
" <td>1</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>9002 rows × 4 columns</p>\n",
"</div>"
],
"text/plain": [
" ADRs DEATHS DISABILITIES LIFE THREATENING ILLNESSES\n",
"VAX_LOT \n",
"039K20A 4139 71 27 34\n",
"026L20A 3472 27 26 25\n",
"011J20A 3353 34 34 30\n",
"025L20A 2576 42 20 27\n",
"012L20A 2502 64 34 24\n",
"... ... ... ... ...\n",
"028O20A 1 0 0 0\n",
"028M20A 1 0 0 0\n",
"028LZON 1 0 0 0\n",
"028LL208 1 0 0 0\n",
"ZTC540693 1 1 0 0\n",
"\n",
"[9002 rows x 4 columns]"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"# https://www.howbadismybatch.com/moderna.html\n",
"saveBatchCodeTable(vaers, \"MODERNA\", \"results/batchCodes/moderna\")"