tobstarr / corona_who

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CoronaWho

Usage

$ mix deps get && mix compile
$ mix run --eval "CoronaWHO.example"
+---------------------------------+
|              Italy              |
+------------+-----------+--------+
| date       | confirmed | growth |
+------------+-----------+--------+
| 2020-03-05 | 3089      | 19.0   |
| 2020-03-06 | 3858      | 19.93  |
| 2020-03-07 | 4636      | 16.78  |
| 2020-03-08 | 5883      | 21.2   |
| 2020-03-09 | 7375      | 20.23  |
| 2020-03-10 | 9172      | 19.59  |
| 2020-03-11 | 10149     | 9.63   |
| 2020-03-12 | 12462     | 18.56  |
| 2020-03-13 | 15113     | 17.54  |
+------------+-----------+--------+

+---------------------------------+
|             Germany             |
+------------+-----------+--------+
| date       | confirmed | growth |
+------------+-----------+--------+
| 2020-03-05 | 349       | 31.23  |
| 2020-03-06 | 534       | 34.64  |
| 2020-03-07 | 639       | 16.43  |
| 2020-03-08 | 847       | 24.56  |
| 2020-03-09 | 1112      | 23.83  |
| 2020-03-10 | 1139      | 2.37   |
| 2020-03-11 | 1296      | 12.11  |
| 2020-03-12 | 1567      | 17.29  |
| 2020-03-13 | 2369      | 33.85  |
+------------+-----------+--------+

+---------------------------------+
|    United States of America     |
+------------+-----------+--------+
| date       | confirmed | growth |
+------------+-----------+--------+
| 2020-03-05 | 129       | 16.28  |
| 2020-03-06 | 148       | 12.84  |
| 2020-03-07 | 213       | 30.52  |
| 2020-03-08 | 213       | 0.0    |
| 2020-03-09 | 213       | 0.0    |
| 2020-03-10 | 472       | 54.87  |
| 2020-03-11 | 696       | 32.18  |
| 2020-03-12 | 987       | 29.48  |
| 2020-03-13 | 1264      | 21.91  |
+------------+-----------+--------+

About

License:MIT License


Languages

Language:Elixir 100.0%