From: Christian Heller Date: Mon, 27 Jul 2020 18:06:30 +0000 (+0200) Subject: Add some more early numbers to scraper defaults. X-Git-Url: https://plomlompom.com/repos/todos?a=commitdiff_plain;h=b730eb6f5014bd360d921cee786ba42cc2a8e4bd;p=berlin-corona-table Add some more early numbers to scraper defaults. --- diff --git a/scrape.py b/scrape.py index de458f4..a688cdb 100755 --- a/scrape.py +++ b/scrape.py @@ -104,7 +104,39 @@ data = { 'TS': {'growth': 1, 'total': 17}, 'TK': {'growth': 3, 'total': 7}, 'sum': {'growth': 58, 'total': 216} - } + }, + # Here the growth numbers needed to be reconstructed. + datetime.datetime(2020, 3, 10): { + 'CW': {'growth': 2, 'total': 15}, + 'FK': {'growth': 0, 'total': 12}, + 'Li': {'growth': 4, 'total': 5}, + 'MH': {'growth': 1, 'total': 3}, + 'Mi': {'growth': 0, 'total': 8}, + 'Ne': {'growth': 2, 'total': 5}, + 'Pa': {'growth': 2, 'total': 8}, + 'Re': {'growth': 0, 'total': 3}, + 'Sp': {'growth': 4, 'total': 6}, + 'SZ': {'growth': 3, 'total': 6}, + 'TS': {'growth': 2, 'total': 7}, + 'TK': {'growth': 3, 'total': 3}, + 'sum': {'growth': 23, 'total': 81} + }, + # Here the totals needed to be reconstructed. + datetime.datetime(2020, 3, 9): { + 'CW': {'growth': 4, 'total': 13}, + 'FK': {'growth': 3, 'total': 12}, + 'Li': {'growth': 0, 'total': 1}, + 'MH': {'growth': 1, 'total': 2}, + 'Mi': {'growth': 0, 'total': 8}, + 'Ne': {'growth': 1, 'total': 3}, + 'Pa': {'growth': 1, 'total': 6}, + 'Re': {'growth': 0, 'total': 3}, + 'Sp': {'growth': 0, 'total': 2}, + 'SZ': {'growth': 0, 'total': 3}, + 'TS': {'growth': 0, 'total': 5}, + 'TK': {'growth': 0, 'total': 0}, + 'sum': {'growth': 10, 'total': 58} + }, } fixes = { # Here the official total is 215, while the summation of district