source('./predict.R')

## [1] "2020-08-23"
##                         country cum_confirm cum_heal cum_dead inc_r d_rate d_pm
## 1                 United States     5843140  3148108   180217  0.74   3.08  544
## 2                        Brazil     3583308  2709638   114287  1.32   3.19  538
## 3                         India     3050326  2282358    56883  1.63   1.86   41
## 4                        Russia      956749   770639    16383  0.51   1.71  112
## 5                  South Africa      607045   504127    12987  0.61   2.14  219
## 6                          Peru      585236   391144    27453  1.59   4.69  833
## 7                        Mexico      556216   380492    60254  1.18  10.83  467
## 8                      Colombia      533103   359792    16968  2.10   3.18  333
## 9                         Spain      407879   196958    28838  0.00   7.07  617
## 10                        Chile      395708   369730    10792  0.49   2.73  565
## 11                         Iran      358905   309464    20643  0.59   5.75  246
## 12                    Argentina      336802   245781     6848  2.36   2.03  152
## 13               United Kingdom      324601     1918    41423  0.40  12.76  610
## 14                 Saudi Arabia      307479   280143     3649  0.36   1.19  105
## 15                   Bangladesh      294598   179091     3941  0.67   1.34   24
## 16                     Pakistan      292765   275836     6235  0.20   2.13   28
## 17                        Italy      258136   205203    35430  0.42  13.73  586
## 18                       Turkey      257032   236370     6102  0.51   2.37   72
## 19                       France      238002    84950    30512  1.54  12.82  467
## 20                      Germany      233843   208824     9426  0.20   4.03  113
## 21                         Iraq      201050   143393     6353  0.00   3.16  158
## 22                  Philippines      189601   131367     2998  1.26   1.58   27
## 23                    Indonesia      153535   107500     6680  1.34   4.35   24
## 24                       Canada      124629   110878     9071  0.21   7.28  240
## 25                        Qatar      117008   113808      193  0.21   0.16   67
## 26                      Bolivia      108427    43887     4442  0.92   4.10  381
## 27                      Ecuador      107089    87889     6277  0.57   5.86  356
## 28                      Ukraine      104958    52235     2271  1.93   2.16   52
## 29                   Kazakhstan      104543    91089     1415  0.22   1.35   75
## 30                       Israel      102150    79303      825  1.42   0.81   95
## 31                        Egypt       97237    65118     5243  0.09   5.39   51
## 32           Dominican Republic       90561    59949     1554  0.77   1.72  143
## 33                        China       90166    84442     4718  0.04   5.23    3
## 34                       Sweden       86068     4971     5810  0.00   6.75  575
## 35                       Panama       85480    60528     1878  1.29   2.20  435
## 36                         Oman       83769    78386      609  0.00   0.73  119
## 37                      Belgium       81468    18204     9988  0.71  12.26  862
## 38                       Kuwait       80528    72307      515  0.71   0.64  121
## 39                      Romania       78505    35287     3272  1.24   4.17  170
## 40                      Belarus       70468    68839      642  0.26   0.91   68
## 41                    Guatemala       67856    56277     2580  1.37   3.80  144
## 42         United Arab Emirates       67007    58488      375  0.59   0.56   38
## 43                  Netherlands       66554      322     6200  0.69   9.32  362
## 44                        Japan       62046    47622     1181 -1.13   1.90    9
## 45                       Poland       61762    42183     1955  0.95   3.17   52
## 46                    Singapore       56353    53920       27  0.15   0.05    5
## 47                     Portugal       55452    40652     1794  0.00   3.24  176
## 48                     Honduras       53983     8449     1643  1.13   3.04  166
## 49                      Nigeria       51905    38767      997  1.17   1.92    5
## 50                      Morocco       50812    35040      858  3.18   1.69   23
## 51                      Bahrain       49038    45589      184  0.77   0.38  108
## 52                        Ghana       43505    41532      261  0.42   0.60    8
## 53                   Kyrgyzstan       43023    36397     1056  0.31   2.45  162
## 54                      Armenia       42792    35991      852  0.41   1.99  288
## 55                      Algeria       41068    28874     1424  0.99   3.47   32
## 56                  Switzerland       39903    34100     2001  1.45   5.01  231
## 57                     Ethiopia       39033    14480      662  3.63   1.70    6
## 58                    Venezuela       38957    28453      323  1.93   0.83   11
## 59                   Uzbekistan       38870    34894      271  1.19   0.70    8
## 60                  Afghanistan       37999    28180     1387  0.12   3.65   36
## 61                   Azerbaijan       35274    32993      518  1.01   1.47   51
## 62                   Costa Rica       33084    10372      348  2.96   1.05   68
## 63                      Moldova       33072    22683      935  1.81   2.83  232
## 64                        Kenya       32364    18670      548  1.89   1.69   10
## 65                        Nepal       31935    18631      149  2.63   0.47    5
## 66                       Serbia       30657    28275      698  0.36   2.28   80
## 67                  Puerto Rico       29577     2267      381  0.00   1.29  133
## 68                      Ireland       27908    23364     1777  0.55   6.37  360
## 69                      Austria       25253    21558      732  0.76   2.90   81
## 70                    Australia       24812    19233      502  0.85   2.02   20
## 71                  El Salvador       24622    12246      661  0.83   2.68  102
## 72               Czech Republic       21790    16087      411  1.11   1.89   38
## 73        Palestinian Territory       18802    11103      127  1.76   0.68   NA
## 74                     Cameroon       18762    16540      408  0.00   2.17   15
## 75       Bosnia and Herzegovina       17715    11329      532  1.83   3.00  162
## 76                  South Korea       17399    14200      309  2.34   1.78    6
## 77                Côte d'Ivoire       17374    15106      113  0.37   0.65    4
## 78                      Denmark       16637    14258      622  0.68   3.74  107
## 79                     Bulgaria       15227    10322      545  0.63   3.58   78
## 80                   Madagascar       14327    13355      178  0.77   1.24    6
## 81 Republika Severna Makedonija       13595    10110      564  2.16   4.15   NA
## 82                     Paraguay       12974     7197      192  3.49   1.48   27
## 83                      Senegal       12949     8455      269  0.77   2.08   16
## 84                        Sudan       12682     6492      815  0.47   6.43   19
## 85                      Lebanon       12191     3346      121  5.28   0.99   18
## 86                       Zambia       10831     9942      279  1.92   2.58   15
## 87                        Libya       10437     1085      188  3.12   1.80   27
## 88                       Norway       10299     9150      264  0.23   2.56   49

## [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-23   China Hong Kong        4682     4018       77    25
## 2 2020-08-23   China     Hebei         359      343        6     5
## 3 2020-08-23   China   Tianjin         218      203        3     2
## 4 2020-08-23   China Guangdong        1727     1701        8     2
## 5 2020-08-23   China   Shaanxi         362      343        3     2
## 6 2020-08-23   China    Fujian         372      365        1     1