'TS': 'Tempelhof-Schöneberg',
'TK': 'Treptow-Köpenick',
'sum': 'all of Berlin',
- 'wsum': 'sum for last 7 days',
+ 'wsum': 'sum of new infections for last 7 days',
'wavg': 'per-day average of new infections for last 7 days',
'winc': 'incidence (x per 100k inhabitants) of new infections for last 7 days',
}
<tr>
<th colspan=2></th>""")
sorted_dates.reverse()
- sum_district = sorted_districts[-1]
for district in sorted_districts:
long_form = translate[district]
# Wrap in div because the vertical orientation otherwise fails
intro += "%s: %s\n" % (k, translate[k])
intro += """
Source code: https://plomlompom.com/repos/?p=berlin-corona-table
-
HTML view: https://plomlompom.com/berlin_corona.html
"""
print(intro)
# separated into 7-day units.
sorted_dates.reverse()
weekday_count = 0
- sum_district = sorted_districts[-1]
for date in sorted_dates:
# Week table header.