Michael De Roover
|
daa846f224
|
Change table width
|
2022-06-11 00:00:13 +02:00 |
Michael De Roover
|
f54b35a280
|
Increase accuracy on per million stats
This is useful particularly for the deaths. Most countries (fortunately) still have those in the <0.1% range.
|
2020-12-06 00:24:25 +01:00 |
Michael De Roover
|
35450e026f
|
Improve exit code handling
|
2020-11-15 09:53:25 +01:00 |
Michael De Roover
|
a7708b7545
|
Make the dirty patch even dirtier
|
2020-10-25 19:15:07 +01:00 |
Michael De Roover
|
fb54596d85
|
Fix broken removal logic caused by the pre-renders
|
2020-10-25 19:08:01 +01:00 |
Michael De Roover
|
9f8786dd39
|
Increase performance further by storing rendered output
|
2020-10-25 06:04:42 +01:00 |
Michael De Roover
|
9c537e4ee8
|
Parse country from API for new stats
|
2020-08-20 23:51:09 +02:00 |
Michael De Roover
|
8e101a2413
|
Clean up frame function
|
2020-08-14 19:54:24 +02:00 |
Michael De Roover
|
731c9fd800
|
Remove ex function
|
2020-08-14 19:28:36 +02:00 |
Michael De Roover
|
fe071e82a6
|
Replace frame title with out function
|
2020-08-14 19:22:39 +02:00 |
Michael De Roover
|
36c655cec0
|
Merge percentage and per 1M stats
|
2020-08-14 16:21:50 +02:00 |
Michael De Roover
|
5bbfc4ad77
|
Reorder the stats in cv and prioritize some
|
2020-08-14 15:47:49 +02:00 |
Michael De Roover
|
a01fb55a86
|
Refactor out function in cv
|
2020-08-14 15:25:47 +02:00 |
Michael De Roover
|
a55248f232
|
Allow option for yesterday's stats to contain any value
|
2020-08-12 13:47:44 +02:00 |
Michael De Roover
|
98cf7ca473
|
Re-add removed $1 to $country conversion
|
2020-08-10 17:29:33 +02:00 |
Michael De Roover
|
02adb8dd79
|
Remove environment variable support
|
2020-08-10 17:14:19 +02:00 |
Michael De Roover
|
07d9734ba0
|
Make the code a bit cleaner
|
2020-08-10 17:10:13 +02:00 |
Michael De Roover
|
28c59e5ee2
|
Change table width to 11
Also replace assumption of no cv arguments with worldwide stats instead of Belgium
|
2020-08-09 00:55:06 +02:00 |
Michael De Roover
|
9d8a5d64ca
|
Allow stats to be queried after midnight
|
2020-08-09 00:46:01 +02:00 |
Michael De Roover
|
ebcf852e1e
|
Make getpct a little bit cleaner
|
2020-08-04 23:48:23 +02:00 |
Michael De Roover
|
8c9b053b44
|
Add a rather ugly percentage counter
|
2020-08-02 22:00:01 +02:00 |
Michael De Roover
|
eddeff6618
|
Re-add data file removal logic
|
2020-07-25 17:34:01 +02:00 |
Michael De Roover
|
4af0be1423
|
Shorten message for new stats
Netherlands was too long and expanded the message out of the window borders
|
2020-07-16 22:46:07 +02:00 |
Michael De Roover
|
7660fe11b7
|
Use bc instead of expr for decimal calculations
|
2020-07-14 23:46:15 +02:00 |
Michael De Roover
|
e8e8c96388
|
Add message when country is newly tracked
|
2020-07-14 23:36:53 +02:00 |
Michael De Roover
|
3991e48107
|
Remove note
|
2020-07-10 20:33:03 +02:00 |
Michael De Roover
|
4f2cab49d6
|
Add column info
|
2020-07-10 20:29:48 +02:00 |
Michael De Roover
|
83a70739de
|
Don't write 2 data files if yesterday's isn't present
|
2020-07-10 20:23:14 +02:00 |
Michael De Roover
|
3f298d26e5
|
Remove file removal logic
|
2020-07-08 19:09:45 +02:00 |
Michael De Roover
|
8ac1db42bc
|
Get rid of those colors
|
2020-07-04 14:05:03 +02:00 |
Michael De Roover
|
902d6a9ad7
|
Separate show and title functions
|
2020-07-03 23:49:32 +02:00 |
Michael De Roover
|
75dd29e52d
|
Finalize data directory migration
|
2020-07-03 23:40:38 +02:00 |
Michael De Roover
|
5c4a254dd3
|
Frame everything up
|
2020-07-03 23:35:47 +02:00 |
Michael De Roover
|
2575675517
|
Add per 1M statistics
|
2020-07-03 23:03:05 +02:00 |
Michael De Roover
|
8eb45de625
|
Make out function unconditional
|
2020-07-03 22:29:41 +02:00 |
Michael De Roover
|
c12e1f5f46
|
Columnize stats output
|
2020-07-03 22:26:50 +02:00 |
Michael De Roover
|
25055bf724
|
Remove vars dependency
|
2020-07-03 19:58:02 +02:00 |
Michael De Roover
|
1288bea0ed
|
Improve out function
|
2020-07-03 19:55:42 +02:00 |
Michael De Roover
|
340065b607
|
Compare to yesterday in main stats
|
2020-07-01 22:31:21 +02:00 |
Michael De Roover
|
5f08102ed7
|
Add critical statistics
|
2020-05-24 16:58:48 +02:00 |
Michael De Roover
|
e494d2dada
|
Make spacing in output adjustable
|
2020-05-17 19:36:15 +02:00 |
Michael De Roover
|
11c28758a2
|
Remove data file also if yesterday's doesn't exist
|
2020-05-14 16:57:04 +02:00 |
Michael De Roover
|
1b5d4233c3
|
Create data directory recursively
This is mainly for Termux where apparently Documents doesn't exist by default either.
|
2020-05-14 16:46:53 +02:00 |
Michael De Roover
|
e5b9dc4cec
|
Forgot ex, oops
|
2020-05-14 16:44:24 +02:00 |
Michael De Roover
|
376a46bf4d
|
Add more statistics
|
2020-05-12 22:54:34 +02:00 |
Michael De Roover
|
9fb4a3dc14
|
Lint and improve cv with shellcheck
|
2020-05-12 15:17:36 +02:00 |
Michael De Roover
|
62179f5ad3
|
Add support for country environment variable
|
2020-05-12 14:50:53 +02:00 |
Michael De Roover
|
0eaf2a62a9
|
Fix issue with querying yesterday's stats without a data file
|
2020-05-12 14:49:08 +02:00 |
Michael De Roover
|
34dbc57e75
|
Optimize get
|
2020-05-06 20:34:58 +02:00 |
Michael De Roover
|
b2e153da39
|
Improve answer on removal of yesterday's data file
|
2020-05-06 01:01:40 +02:00 |