source('./predict.R')

## [1] "2020-06-22"
##                 country cum_confirm cum_heal cum_dead inc_r death_r dead_pm
## 1         United States     2357667   980367   122261  1.10    5.19     369
## 2                Brazil     1086990   579226    50659  1.57    4.66     238
## 3                Russia      592280   344416     8206  1.30    1.39      56
## 4                 India      427046   237929    13717  1.83    3.21      10
## 5        United Kingdom      305289     1918    42647  0.31   13.97     628
## 6                 Spain      293352   196958    28323  0.11    9.65     606
## 7                  Peru      254936   141967     8045  1.43    3.16     244
## 8                 Chile      242355   200569     4479  2.37    1.85     234
## 9                 Italy      238499   182893    34634  0.09   14.52     573
## 10                 Iran      207525   166427     9742  1.26    4.69     116
## 11              Germany      192487   177733     9062  0.44    4.71     108
## 12               Turkey      187685   160240     4950  0.64    2.64      59
## 13             Pakistan      181088    71458     3590  2.53    1.98      16
## 14               Mexico      180545   135279    21825  3.05   12.09     169
## 15         Saudi Arabia      161005   105175     1307  2.15    0.81      38
## 16               France      160377    74372    29640  0.18   18.48     454
## 17           Bangladesh      115786    46755     1502  3.10    1.30       9
## 18               Canada      101286    63860     8430  0.26    8.32     223
## 19         South Africa       97302    51608     1930  4.99    1.98      33
## 20                Qatar       88403    69956       99  1.18    0.11      34
## 21                China       85056    79970     4646  0.06    5.46       3
## 22             Colombia       68652    27360     2237  4.60    3.26      44
## 23              Belgium       60550    16771     9696  0.00   16.01     837
## 24              Belarus       59023    37923      351  0.89    0.59      37
## 25               Sweden       56043     4971     5053  0.00    9.02     500
## 26                Egypt       55233    14736     2193  2.74    3.97      21
## 27              Ecuador       50640    24991     4223  1.83    8.34     239
## 28          Netherlands       49658      322     6090  0.13   12.26     355
## 29            Indonesia       46845    18735     2500  2.08    5.34       9
## 30 United Arab Emirates       44925    32415      302  0.88    0.67      31
## 31            Argentina       42785    13153     1016  3.84    2.37      22
## 32            Singapore       42313    34942       26  0.52    0.06       4
## 33               Kuwait       40291    31770      330  1.62    0.82      77
## 34             Portugal       39392    25548     1534  0.66    3.89     150
## 35              Ukraine       37241    16642     1012  1.86    2.72      23
## 36               Poland       32227    17076     1436  0.93    4.46      38
## 37          Switzerland       31310    29000     1956  0.06    6.25     226
## 38                 Oman       31076    16408      137  5.45    0.44      27
## 39                 Iraq       30868    13935     1100  5.63    3.56      27
## 40          Philippines       30682     8143     1177  2.10    3.84      11
## 41          Afghanistan       29143     8841      598  1.08    2.05      15
## 42   Dominican Republic       26677    15138      662  3.49    2.48      61
## 43               Panama       26030    14359      501  3.20    1.92     116
## 44              Ireland       25379    22698     1715  0.02    6.76     347
## 45              Bolivia       24388     5454      773  3.73    3.17      66
## 46              Romania       24291    17031     1523  1.02    6.27      79
## 47              Bahrain       21764    16419       64  2.03    0.29      38
## 48               Israel       20869    15714      307  0.88    1.47      35
## 49              Armenia       20588     9131      360  1.58    1.75     121
## 50              Nigeria       20244     6879      518  2.20    2.56       3
## 51                Japan       17982    16133      956  0.25    5.32       8
## 52           Kazakhstan       17732    10897      120  2.94    0.68       6
## 53              Austria       17380    16241      690  0.22    3.97      77
## 54              Moldova       14200     8019      475  1.77    3.35     118
## 55                Ghana       14154    10473       85  3.19    0.60       3
## 56            Guatemala       13145     2711      531  3.06    4.04      30
## 57               Serbia       12990    11997      262  0.74    2.02      30
## 58             Honduras       12769     1293      363  3.76    2.84      37
## 59           Azerbaijan       12729     6799      154  4.01    1.21      15
## 60              Denmark       12591    11482      600  0.00    4.77     104
## 61          South Korea       12438    10881      280  0.14    2.25       5
## 62             Cameroon       11892     7710      303  2.43    2.55      11
## 63              Algeria       11771     8422      845  1.20    7.18      19
## 64       Czech Republic       10498     7499      336  0.48    3.20      31
## 65              Morocco       10079     8319      214  1.23    2.12       6

## [1] "Pakistan leading 1 cum_confirm == 0 trimed"

## [1] "Provinces added more than 0 cases in last 1-day:"
##         time country  province cum_confirm cum_heal cum_dead added
## 1 2020-06-22   China Hong Kong        1161     1078        5    30
## 2 2020-06-22   China   Beijing         830      584        9     9
## 3 2020-06-22   China     Gansu         158      137        2     7
## 4 2020-06-22   China  Shanghai         701      669        7     3
## 5 2020-06-22   China     Hebei         346      322        6     2
## 6 2020-06-22   China   Tianjin         198      191        3     1
## 7 2020-06-22   China  Liaoning         154      147        2     1
## 8 2020-06-22   China   Shaanxi         317      306        3     1