refactoring

This commit is contained in:
frankknoll
2023-01-04 11:37:56 +01:00
parent a2bacfd8a6
commit 8e45d660c7

View File

@@ -45,6 +45,16 @@
"print('needsUpdate:', needsUpdate)" "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", "cell_type": "code",
"execution_count": null, "execution_count": null,
@@ -54,7 +64,7 @@
"source": [ "source": [
"updateVAERSFiles(\n", "updateVAERSFiles(\n",
" needsUpdate = needsUpdate,\n", " needsUpdate = needsUpdate,\n",
" years = [2022, 2023],\n", " years = years_from_2020_to_present,\n",
" workingDirectory = os.getcwd())" " workingDirectory = os.getcwd())"
] ]
}, },
@@ -65,7 +75,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"internationalVaersCovid19 = getInternationalVaersCovid19(years = [2020, 2021, 2022, 2023])\n", "internationalVaersCovid19 = getInternationalVaersCovid19(years = years_from_2020_to_present)\n",
"internationalVaersCovid19" "internationalVaersCovid19"
] ]
}, },