From: Christian Heller Date: Mon, 27 Jul 2020 18:21:47 +0000 (+0200) Subject: Further push back scraper pre-seed. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/foo.html?a=commitdiff_plain;h=6142dc2ac4ee62b47bf205970a9ee460a49993a6;p=berlin-corona-table Further push back scraper pre-seed. --- diff --git a/scrape.py b/scrape.py index a688cdb..bbb4835 100755 --- a/scrape.py +++ b/scrape.py @@ -137,6 +137,38 @@ data = { 'TK': {'growth': 0, 'total': 0}, 'sum': {'growth': 10, 'total': 58} }, + # Here the growth numbers needed to be reconstructed. + datetime.datetime(2020, 3, 8): { + 'CW': {'growth': 0, 'total': 9}, + 'FK': {'growth': 4, 'total': 9}, + 'Li': {'growth': 1, 'total': 1}, + 'MH': {'growth': 0, 'total': 1}, + 'Mi': {'growth': 0, 'total': 8}, + 'Ne': {'growth': 0, 'total': 2}, + 'Pa': {'growth': 0, 'total': 5}, + 'Re': {'growth': 0, 'total': 3}, + 'Sp': {'growth': 2, 'total': 2}, + 'SZ': {'growth': 1, 'total': 3}, + 'TS': {'growth': 0, 'total': 5}, + 'TK': {'growth': 0, 'total': 0}, + 'sum': {'growth': 8, 'total': 48} + }, + # Here the growth numbers needed to be reconstructed. + datetime.datetime(2020, 3, 7): { + 'CW': {'growth': 6, 'total': 9}, + 'FK': {'growth': 1, 'total': 5}, + 'Li': {'growth': 0, 'total': 0}, + 'MH': {'growth': 0, 'total': 1}, + 'Mi': {'growth': 1, 'total': 8}, + 'Ne': {'growth': 0, 'total': 2}, + 'Pa': {'growth': 1, 'total': 5}, + 'Re': {'growth': 0, 'total': 3}, + 'Sp': {'growth': 0, 'total': 0}, + 'SZ': {'growth': 2, 'total': 2}, + 'TS': {'growth': 1, 'total': 5}, + 'TK': {'growth': 0, 'total': 0}, + 'sum': {'growth': 12, 'total': 40} + }, } fixes = { # Here the official total is 215, while the summation of district