refactoring
This commit is contained in:
@@ -503,6 +503,15 @@
|
|||||||
"prrBySymptomByVaccineWithHighPrrs"
|
"prrBySymptomByVaccineWithHighPrrs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"cell_type": "code",
|
||||||
|
"execution_count": null,
|
||||||
|
"metadata": {},
|
||||||
|
"outputs": [],
|
||||||
|
"source": [
|
||||||
|
"webAppBaseDir = os.getcwd() + '/../docs/SymptomsCausedByVaccines'"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": null,
|
"execution_count": null,
|
||||||
@@ -512,7 +521,7 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"saveProportionalReportingRatios(\n",
|
"saveProportionalReportingRatios(\n",
|
||||||
" prrByVaccineBySymptomWithoutZeroPrrs,\n",
|
" prrByVaccineBySymptomWithoutZeroPrrs,\n",
|
||||||
" directory = os.path.normpath(os.getcwd() + '/../docs/data/ProportionalReportingRatios/symptoms'))"
|
" directory = os.path.normpath(webAppBaseDir + '/data/ProportionalReportingRatios/symptoms'))"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -524,7 +533,7 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"saveProportionalReportingRatios(\n",
|
"saveProportionalReportingRatios(\n",
|
||||||
" prrBySymptomByVaccineWithHighPrrs,\n",
|
" prrBySymptomByVaccineWithHighPrrs,\n",
|
||||||
" directory = os.path.normpath(os.getcwd() + '/../docs/data/ProportionalReportingRatios/vaccines'))"
|
" directory = os.path.normpath(webAppBaseDir + '/data/ProportionalReportingRatios/vaccines'))"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -537,7 +546,7 @@
|
|||||||
"updateHtmlFile(\n",
|
"updateHtmlFile(\n",
|
||||||
" symptoms = list(prrByVaccineAndSymptom.columns),\n",
|
" symptoms = list(prrByVaccineAndSymptom.columns),\n",
|
||||||
" vaccines = list(prrByVaccineAndSymptom.index),\n",
|
" vaccines = list(prrByVaccineAndSymptom.index),\n",
|
||||||
" htmlFile = \"../docs/SymptomsCausedByVaccines/index.html\")"
|
" htmlFile = os.path.normpath(webAppBaseDir + '/index.html'))"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -599,6 +608,15 @@
|
|||||||
"prrBySymptomByLotWithHighPrrs"
|
"prrBySymptomByLotWithHighPrrs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"cell_type": "code",
|
||||||
|
"execution_count": null,
|
||||||
|
"metadata": {},
|
||||||
|
"outputs": [],
|
||||||
|
"source": [
|
||||||
|
"webAppBaseDir = os.getcwd() + '/../docs/SymptomsCausedByCOVIDLots'"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": null,
|
"execution_count": null,
|
||||||
@@ -607,7 +625,7 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"saveProportionalReportingRatios(\n",
|
"saveProportionalReportingRatios(\n",
|
||||||
" prrByLotBySymptomWithoutZeroPrrs,\n",
|
" prrByLotBySymptomWithoutZeroPrrs,\n",
|
||||||
" directory = os.path.normpath(os.getcwd() + '/../docs/SymptomsCausedByCOVIDLots/data/ProportionalReportingRatios/symptoms'))"
|
" directory = os.path.normpath(webAppBaseDir + '/data/ProportionalReportingRatios/symptoms'))"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -618,7 +636,7 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"saveProportionalReportingRatios(\n",
|
"saveProportionalReportingRatios(\n",
|
||||||
" prrBySymptomByLotWithHighPrrs,\n",
|
" prrBySymptomByLotWithHighPrrs,\n",
|
||||||
" directory = os.path.normpath(os.getcwd() + '/../docs/SymptomsCausedByCOVIDLots/data/ProportionalReportingRatios/vaccines'))"
|
" directory = os.path.normpath(webAppBaseDir + '/data/ProportionalReportingRatios/vaccines'))"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -630,7 +648,7 @@
|
|||||||
"updateHtmlFile4SymptomsCausedByCOVIDLots(\n",
|
"updateHtmlFile4SymptomsCausedByCOVIDLots(\n",
|
||||||
" symptoms = list(prrByLotAndSymptom.columns),\n",
|
" symptoms = list(prrByLotAndSymptom.columns),\n",
|
||||||
" batches = list(prrByLotAndSymptom.index),\n",
|
" batches = list(prrByLotAndSymptom.index),\n",
|
||||||
" htmlFile = \"../docs/SymptomsCausedByCOVIDLots/index.html\")"
|
" htmlFile = os.path.normpath(webAppBaseDir + '/index.html'))"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user