From: Christian Heller Date: Tue, 28 Jul 2020 17:55:49 +0000 (+0200) Subject: Add some more pre-seeded early days. X-Git-Url: https://plomlompom.com/repos/%27%29;%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20chunks.push%28escapeHTML%28span%5B2%5D%29%29;%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20chunks.push%28%27?a=commitdiff_plain;h=a2f73f130d45247e0097278f0c1388583bf18986;p=berlin-corona-table Add some more pre-seeded early days. --- diff --git a/scrape.py b/scrape.py index bbb4835..d95cfed 100755 --- a/scrape.py +++ b/scrape.py @@ -169,6 +169,70 @@ data = { 'TK': {'growth': 0, 'total': 0}, 'sum': {'growth': 12, 'total': 40} }, + # Here the growth numbers needed to be reconstructed. + datetime.datetime(2020, 3, 6): { + 'CW': {'growth': 1, 'total': 3}, + 'FK': {'growth': 0, 'total': 4}, + 'Li': {'growth': 0, 'total': 0}, + 'MH': {'growth': 0, 'total': 1}, + 'Mi': {'growth': 4, 'total': 7}, + 'Ne': {'growth': 1, 'total': 2}, + 'Pa': {'growth': 1, 'total': 4}, + 'Re': {'growth': 0, 'total': 3}, + 'Sp': {'growth': 0, 'total': 0}, + 'SZ': {'growth': 0, 'total': 0}, + 'TS': {'growth': 2, 'total': 4}, + 'TK': {'growth': 0, 'total': 0}, + 'sum': {'growth': 9, 'total': 28} + }, + # Here the growth numbers needed to be reconstructed. + datetime.datetime(2020, 3, 5): { + 'CW': {'growth': 2, 'total': 2}, + 'FK': {'growth': 0, 'total': 4}, + 'Li': {'growth': 0, 'total': 0}, + 'MH': {'growth': 0, 'total': 1}, + 'Mi': {'growth': 0, 'total': 3}, + 'Ne': {'growth': 0, 'total': 1}, + 'Pa': {'growth': 1, 'total': 3}, + 'Re': {'growth': 2, 'total': 3}, + 'Sp': {'growth': 0, 'total': 0}, + 'SZ': {'growth': 0, 'total': 0}, + 'TS': {'growth': 1, 'total': 2}, + 'TK': {'growth': 0, 'total': 0}, + 'sum': {'growth': 6, 'total': 19} + }, + # Here the growth numbers needed to be reconstructed. + datetime.datetime(2020, 3, 4): { + 'CW': {'growth': 0, 'total': 0}, + 'FK': {'growth': 2, 'total': 4}, + 'Li': {'growth': 0, 'total': 0}, + 'MH': {'growth': 0, 'total': 1}, + 'Mi': {'growth': 0, 'total': 3}, + 'Ne': {'growth': 0, 'total': 1}, + 'Pa': {'growth': 1, 'total': 2}, + 'Re': {'growth': 1, 'total': 1}, + 'Sp': {'growth': 0, 'total': 0}, + 'SZ': {'growth': 0, 'total': 0}, + 'TS': {'growth': 0, 'total': 1}, + 'TK': {'growth': 0, 'total': 0}, + 'sum': {'growth': 4, 'total': 13} + }, + # Here the growth numbers needed to be reconstructed. + datetime.datetime(2020, 3, 3): { + 'CW': {'growth': 0, 'total': 0}, + 'FK': {'growth': 2, 'total': 2}, + 'Li': {'growth': 0, 'total': 0}, + 'MH': {'growth': 0, 'total': 1}, + 'Mi': {'growth': 0, 'total': 3}, + 'Ne': {'growth': 0, 'total': 1}, + 'Pa': {'growth': 1, 'total': 1}, + 'Re': {'growth': 0, 'total': 0}, + 'Sp': {'growth': 0, 'total': 0}, + 'SZ': {'growth': 0, 'total': 0}, + 'TS': {'growth': 0, 'total': 1}, + 'TK': {'growth': 0, 'total': 0}, + 'sum': {'growth': 3, 'total': 9} + }, } fixes = { # Here the official total is 215, while the summation of district