invoking CountriesByBatchcodeProvider

This commit is contained in:
frankknoll
2023-03-30 16:53:49 +02:00
parent 49a17b3351
commit 260c6ea7d6
2 changed files with 25 additions and 2 deletions

View File

@@ -36,5 +36,5 @@ def _readExploration(csvFile, indexName):
def getCountriesByBatchcodeBeforeDeletion(): def getCountriesByBatchcodeBeforeDeletion():
internationalVaersCovid19 = getInternationalVaersCovid19(dataDir = 'VAERS/VAERSBeforeDeletion', years = [2020, 2021, 2022]) internationalVaersCovid19 = getInternationalVaersCovid19(dataDir = 'VAERS/VAERSBeforeDeletion', years = [2020, 2021, 2022])
batchCodeTable = BatchCodeTableFactory(internationalVaersCovid19).createGlobalBatchCodeTable() batchCodeTable = BatchCodeTableFactory(internationalVaersCovid19).createGlobalBatchCodeTable(countriesAsList = True)
return batchCodeTable[['Countries']] return batchCodeTable[['Countries']]

View File

@@ -137,10 +137,33 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"internationalVaersCovid19 = getInternationalVaersCovid19(years = years_from_start_of_COVID_vaccination_to_present)\n", "internationalVaersCovid19 = getInternationalVaersCovid19(dataDir = 'VAERS', years = years_from_start_of_COVID_vaccination_to_present)\n",
"internationalVaersCovid19" "internationalVaersCovid19"
] ]
}, },
{
"cell_type": "code",
"execution_count": null,
"id": "4e789358",
"metadata": {},
"outputs": [],
"source": [
"from CountriesByBatchcodeProvider import getCountriesByBatchcodeBeforeDeletion\n",
"\n",
"countriesByBatchcodeBeforeDeletion = getCountriesByBatchcodeBeforeDeletion()\n",
"countriesByBatchcodeBeforeDeletion"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "15ec979e",
"metadata": {},
"outputs": [],
"source": [
"countriesByBatchcodeBeforeDeletion.to_csv('tmp/countriesByBatchcodeBeforeDeletion.csv')"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,