diff --git a/src/HowBadIsMyBatch.ipynb b/src/HowBadIsMyBatch.ipynb index 3afb59efd28..4db00c56585 100644 --- a/src/HowBadIsMyBatch.ipynb +++ b/src/HowBadIsMyBatch.ipynb @@ -45,6 +45,16 @@ "print('needsUpdate:', needsUpdate)" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "194b7357", + "metadata": {}, + "outputs": [], + "source": [ + "years_from_2020_to_present = list(range(2020, datetime.now().year + 1))" + ] + }, { "cell_type": "code", "execution_count": null, @@ -54,7 +64,7 @@ "source": [ "updateVAERSFiles(\n", " needsUpdate = needsUpdate,\n", - " years = [2022, 2023],\n", + " years = years_from_2020_to_present,\n", " workingDirectory = os.getcwd())" ] }, @@ -65,7 +75,7 @@ "metadata": {}, "outputs": [], "source": [ - "internationalVaersCovid19 = getInternationalVaersCovid19(years = [2020, 2021, 2022, 2023])\n", + "internationalVaersCovid19 = getInternationalVaersCovid19(years = years_from_2020_to_present)\n", "internationalVaersCovid19" ] },