source('./predict.R')

## [1] "2020-08-26"
##                         country cum_confirm cum_heal cum_dead inc_r d_rate d_pm
## 1                         Libya       11834     1152      210  4.90   1.77   31
## 2                      Paraguay       14228     7883      231  4.60   1.62   32
## 3                       Lebanon       13687     3723      138  4.04   1.01   20
## 4                      Ethiopia       43688    15796      709  3.67   1.62    6
## 5                         Nepal       34418    19504      175  2.64   0.51    6
## 6                   Philippines      202361   133460     3137  2.64   1.55   29
## 7                     Argentina      359638   263202     7563  2.50   2.10  167
## 8                    Costa Rica       35305    13073      376  2.44   1.07   74
## 9         Palestinian Territory       20155    13929      135  2.42   0.67   NA
## 10                      Morocco       54528    38293      955  2.40   1.75   26
## 11                    Venezuela       41158    32015      343  2.03   0.83   12
## 12                       Israel      107341    85893      867  1.98   0.81  100
## 13                     Colombia      562128   395470    17889  1.89   3.18  352
## 14                  South Korea       18265    14368      312  1.78   1.71    6
## 15                        India     3246929  2474743    59736  1.72   1.84   43
## 16               Czech Republic       22548    16662      416  1.65   1.84   39
## 17                    Guatemala       69651    57891     2630  1.63   3.78  147
## 18                      Romania       81646    36286     3421  1.56   4.19  178
## 19       Bosnia and Herzegovina       18609    12336      571  1.54   3.07  174
## 20                      Ukraine      110085    53454     2354  1.54   2.14   54
## 21                    Indonesia      160165   115409     6944  1.46   4.34   25
## 22                       France      248158    85524    30544  1.35  12.31  468
## 23                     Bulgaria       15589    10601      572  1.32   3.67   82
## 24                      Austria       26033    22145      733  1.27   2.82   81
## 25                       Brazil     3674176  2848395   116666  1.27   3.18  549
## 26                       Zambia       11285    10400      282  1.23   2.50   15
## 27                         Peru      607382   414577    28001  1.16   4.61  849
## 28                       Poland       63802    43399     1994  1.16   3.13   53
## 29                        Japan       64002    50431     1217  1.13   1.90   10
## 30                     Cameroon       18973    16540      410  1.12   2.16   15
## 31         United Arab Emirates       68020    59070      378  1.10   0.56   38
## 32                       Panama       88381    62759     1919  1.02   2.17  445
## 33                      Senegal       13186     8852      275  1.00   2.09   16
## 34                  Switzerland       40645    34800     2003  0.95   4.93  231
## 35                      Algeria       42228    29587     1456  0.88   3.45   33
## 36                       Mexico      568621   393101    61450  0.87  10.81  477
## 37                       Kuwait       82271    73906      521  0.86   0.63  122
## 38                  Netherlands       68114      322     6215  0.85   9.12  363
## 39                   Bangladesh      302147   190183     4082  0.84   1.35   25
## 40                      Bolivia      110999    48875     4664  0.77   4.20  400
## 41                        Kenya       32803    19055      559  0.76   1.70   10
## 42                      Bahrain       50076    46673      186  0.72   0.37  109
## 43                     Honduras       55877     9124     1703  0.72   3.05  172
## 44                      Ecuador      109030    95025     6368  0.68   5.84  361
## 45           Dominican Republic       92217    62460     1585  0.66   1.72  146
## 46                     Portugal       56274    41184     1807  0.65   3.21  177
## 47                United States     5956661  3255161   182449  0.65   3.06  551
## 48                         Iran      365606   314870    21020  0.62   5.75  250
## 49                  El Salvador       25140    13046      687  0.62   2.73  106
## 50                    Australia       25204    20100      549  0.60   2.18   22
## 51                       Turkey      261194   238795     6163  0.58   2.36   73
## 52                      Germany      237468   210570     9436  0.57   3.97  113
## 53                        Spain      423224   196958    28924  0.57   6.83  619
## 54                       Norway       10454     9150      264  0.57   2.53   49
## 55                   Madagascar       14554    13582      181  0.55   1.24    7
## 56                      Denmark       16905    14823      623  0.50   3.69  108
## 57                      Nigeria       52800    39964     1007  0.48   1.91    5
## 58                       Russia      970865   786150    16683  0.48   1.72  114
## 59                      Belgium       82447    18291     9996  0.43  12.12  862
## 60                        Qatar      117742   114558      194  0.41   0.16   67
## 61                   Uzbekistan       39790    35983      289  0.38   0.73    9
## 62               United Kingdom      327798     1918    41449  0.36  12.64  611
## 63                      Belarus       70974    69378      657  0.35   0.93   70
## 64                        Chile      400985   374463    10958  0.35   2.73  573
## 65                        Italy      261174   206015    35445  0.34  13.57  586
## 66                 Saudi Arabia      310836   284945     3755  0.34   1.21  108
## 67                  Puerto Rico       30720     2267      395  0.33   1.29  138
## 68                Côte d'Ivoire       17562    15908      114  0.32   0.65    4
## 69                      Armenia       43067    36726      861  0.31   2.00  291
## 70                      Ireland       28201    23364     1777  0.30   6.30  360
## 71                       Canada      125969   112050     9090  0.26   7.22  241
## 72                   Kyrgyzstan       43358    37217     1057  0.26   2.44  162
## 73                 South Africa      613017   520381    13308  0.26   2.17  224
## 74                        Ghana       43717    41843      270  0.22   0.62    9
## 75                       Sweden       87072     4971     5817  0.21   6.68  576
## 76                         Oman       84818    79409      646  0.20   0.76  127
## 77                   Kazakhstan      105075    93990     1523  0.16   1.45   81
## 78                     Pakistan      294193   278939     6267  0.16   2.13   28
## 79                        Egypt       97619    67717     5298  0.14   5.43   52
## 80                  Afghanistan       38113    29042     1401  0.11   3.68   36
## 81                    Singapore       56495    54816       27  0.11   0.05    5
## 82                        China       90264    84680     4720  0.04   5.23    3
## 83                   Azerbaijan       35559    33190      521  0.00   1.47   51
## 84                         Iraq      211947   153761     6596  0.00   3.11  164
## 85                      Moldova       34358    23869      960  0.00   2.79  238
## 86 Republika Severna Makedonija       13799    10210      573  0.00   4.15   NA
## 87                       Serbia       30820    29132      705  0.00   2.29   81
## 88                        Sudan       12974     6557      819  0.00   6.31   19

## [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-08-26   China Hong Kong        4735     4161       79    25
## 2 2020-08-26   China   Sichuan         640      617        3     5
## 3 2020-08-26   China  Shanghai         886      807        7     4
## 4 2020-08-26   China Guangdong        1734     1704        8     4
## 5 2020-08-26   China    Yunnan         199      189        2     1