diff --git a/src/CountriesByBatchcodeProvider.py b/src/CountriesByBatchcodeProvider.py index 9504f5b304e..12a9aa906b6 100644 --- a/src/CountriesByBatchcodeProvider.py +++ b/src/CountriesByBatchcodeProvider.py @@ -36,5 +36,5 @@ def _readExploration(csvFile, indexName): def getCountriesByBatchcodeBeforeDeletion(): internationalVaersCovid19 = getInternationalVaersCovid19(dataDir = 'VAERS/VAERSBeforeDeletion', years = [2020, 2021, 2022]) - batchCodeTable = BatchCodeTableFactory(internationalVaersCovid19).createGlobalBatchCodeTable() + batchCodeTable = BatchCodeTableFactory(internationalVaersCovid19).createGlobalBatchCodeTable(countriesAsList = True) return batchCodeTable[['Countries']] diff --git a/src/HowBadIsMyBatch.ipynb b/src/HowBadIsMyBatch.ipynb index a97676eac3d..476fa7a2503 100644 --- a/src/HowBadIsMyBatch.ipynb +++ b/src/HowBadIsMyBatch.ipynb @@ -137,10 +137,33 @@ "metadata": {}, "outputs": [], "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" ] }, + { + "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", "execution_count": null,