updating data
This commit is contained in:
@@ -15,6 +15,16 @@
|
||||
"pd.set_option('display.max_columns', None)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "dfa836ec",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"needsUpdate = False"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
@@ -60,7 +70,8 @@
|
||||
" dataFrame['Letzte Änderung'] = pd.to_datetime(dataFrame['Letzte Änderung'], format = \"%d.%m.%Y %H:%M Uhr\")\n",
|
||||
" return dataFrame\n",
|
||||
"\n",
|
||||
"print('needsUpdate: ', needsUpdate())"
|
||||
"needsUpdate = needsUpdate()\n",
|
||||
"print('needsUpdate: ', needsUpdate)"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -101,7 +112,8 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"timeSeries = readTimeseries(download = False)\n",
|
||||
"# FK-TODO: falls needsUpdate = True, dann muß das aktuelle Datum noch automatisch in intensivstationen.html eingesetzt werden.\n",
|
||||
"timeSeries = readTimeseries(download = needsUpdate)\n",
|
||||
"timeSeries"
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user