# compromise to keep as many surrounding numbers stable as possible.
datetime.datetime(2020, 3, 26): {
'SZ': {
- 'growth': 12,
- 'total': 132
+ 'growth': 12
},
'sum': {
- 'growth': 286,
- 'total': 1931
+ 'growth': 286
}
},
# Here the official total is 220, while the summation of district
},
}
-# Scan navigation bar for maximum pagination value.
+# Scan navigation bar for maximum pagination value.
url = url_prefix + pm_dir
with urllib.request.urlopen(url) as response:
html = response.read()
continue
day_urls += [link['href']]
-# Collect infection data.
+# Collect infection data.
data = {}
first_run = True
districts_sorted = []