home
·
contact
·
privacy
projects
/
berlin-corona-table
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a4b4a86
)
Turn scrape.py output into daily infections table order format.
author
Christian Heller
<c.heller@plomlompom.de>
Sat, 29 Aug 2020 17:03:47 +0000
(19:03 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Sat, 29 Aug 2020 17:03:47 +0000
(19:03 +0200)
scrape.py
patch
|
blob
|
history
diff --git
a/scrape.py
b/scrape.py
index 4448de659f1e9e260d6c81fd96ed4f8e3ca4dcf4..d05fe909707bae674362e84b9dfa6ffeeff87073 100755
(executable)
--- a/
scrape.py
+++ b/
scrape.py
@@
-367,6
+367,7
@@
for date in dates_sorted:
raise Exception('Questionable district infection growth sum in %s' % date)
# Final output.
raise Exception('Questionable district infection growth sum in %s' % date)
# Final output.
+dates_sorted.reverse()
print(' '*10, ' '.join(['%3s' % d for d in districts_sorted]))
for date in dates_sorted:
growths = []
print(' '*10, ' '.join(['%3s' % d for d in districts_sorted]))
for date in dates_sorted:
growths = []