source('./predict.R')

## [1] "2020-08-14"
##                         country cum_confirm cum_heal cum_dead inc_r d_rate d_pm
## 1                       Belgium       76191    17913     9916  0.72  13.01  856
## 2                          Peru      507996   348006    25648  1.89   5.05  778
## 3                         Spain      355856   196958    28605 -5.57   8.04  612
## 4                United Kingdom      313798     1918    41347  0.00  13.18  609
## 5                         Italy      252235   202923    35231  0.21  13.97  583
## 6                        Sweden       83852     4971     5776  0.48   6.89  572
## 7                         Chile      380034   353131    10299  0.49   2.71  539
## 8                 United States     5418045  2844250   170446  1.07   3.15  515
## 9                        Brazil     3229621  2356640   105564  1.87   3.27  497
## 10                       France      209365    83472    30388  1.29  14.51  466
## 11                       Mexico      505751   341507    55293  1.48  10.93  429
## 12                       Panama       78446    52210     1722  1.38   2.20  399
## 13                  Netherlands       61840      322     6167  2.00   9.97  360
## 14                      Ireland       26929    23364     1774  0.34   6.59  359
## 15                      Ecuador       98343    78957     6010  1.27   6.11  341
## 16                      Bolivia       96459    33720     3884  1.46   4.03  333
## 17                     Colombia      433805   250494    14145  2.67   3.26  278
## 18                      Armenia       41299    34164      814  0.67   1.97  275
## 19                       Canada      121234   107553     9015  0.32   7.44  239
## 20                  Switzerland       37671    32700     1991  0.72   5.29  230
## 21                         Iran      338825   293811    19331  0.74   5.71  230
## 22                   Kyrgyzstan       41373    33592     1491  0.74   3.60  229
## 23                      Moldova       29087    20276      878  1.36   3.02  218
## 24                 South Africa      572865   437617    11270  0.69   1.97  190
## 25                     Portugal       53548    39177     1770  0.61   3.31  174
## 26                     Honduras       49042     7032     1542  0.79   3.14  156
## 27                      Romania       68046    31920     2904  2.12   4.27  151
## 28       Bosnia and Herzegovina       15535     9344      469  2.31   3.02  143
## 29                         Iraq      164277   117208     5641  2.39   3.43  140
## 30           Dominican Republic       83134    47946     1393  1.11   1.68  128
## 31                    Guatemala       60284    48305     2296  2.02   3.81  128
## 32                    Argentina      276072   192434     5362  2.79   1.94  119
## 33                       Kuwait       74486    66099      489  0.00   0.66  115
## 34                      Germany      222757   203964     9374  0.65   4.21  112
## 35                         Oman       82743    77427      557  0.26   0.67  109
## 36                  Puerto Rico       25128        0      311  4.38   1.24  109
## 37                      Denmark       15590    13370      621  1.08   3.98  107
## 38                       Russia      912823   722964    15498  0.56   1.70  106
## 39                      Bahrain       45726    42180      167  1.02   0.37   98
## 40                 Saudi Arabia      295902   262959     3338  0.98   1.13   96
## 41                  El Salvador       22314    10455      595  1.46   2.67   92
## 42                      Austria       22876    20499      725  1.25   3.17   80
## 43                       Israel       90472    66151      657  1.96   0.73   76
## 44                       Serbia       28998    26117      661  0.86   2.28   76
## 45                     Bulgaria       14069     8901      484  1.27   3.44   70
## 46                       Turkey      245635   228057     5912  0.51   2.41   70
## 47                   Kazakhstan      101848    78633     1269  0.47   1.25   68
## 48                        Qatar      114532   111258      190  0.52   0.17   66
## 49                      Belarus       69308    66452      603  0.30   0.87   64
## 50                   Costa Rica       26129     8412      272  4.28   1.04   53
## 51                        Egypt       96108    56890     5107  0.15   5.31   50
## 52                   Azerbaijan       33915    31269      500  0.27   1.47   49
## 53                       Poland       55319    38362     1858  1.53   3.36   49
## 54                      Ukraine       87872    46797     2011  2.01   2.29   46
## 55               Czech Republic       19401    13574      391  1.71   2.02   37
## 56         United Arab Emirates       63819    57473      359  0.52   0.56   36
## 57                  Afghanistan       37431    26714     1363  0.02   3.64   35
## 58                        India     2465662  1753719    48188  2.24   1.95   35
## 59                      Algeria       37187    26004     1341  1.33   3.61   31
## 60                     Pakistan      287300   265215     6153  0.22   2.14   28
## 61                   Bangladesh      271881   156623     3591  1.03   1.32   22
## 62                    Indonesia      135123    89618     6021  1.74   4.46   22
## 63                  Philippines      153660    71405     2442  4.16   1.59   22
## 64                        Sudan       12162     6325      793  0.39   6.52   18
## 65                      Morocco       37935    26687      584  3.38   1.54   16
## 66                    Australia       22743    13350      375  1.72   1.65   15
## 67                     Cameroon       18308    15320      401  0.25   2.19   15
## 68                      Senegal       11872     7615      249  1.12   2.10   15
## 69                        Japan       53961    37479     1086  2.58   2.01    9
## 70                        Kenya       28754    15100      460  2.31   1.60    9
## 71                    Venezuela       30369    21385      259  4.40   0.85    9
## 72                        Ghana       41847    39718      223  0.29   0.53    7
## 73                   Uzbekistan       33821    27825      220  2.20   0.65    7
## 74                  South Korea       14770    13817      305  0.00   2.06    6
## 75                   Madagascar       13643    12011      164  0.89   1.20    6
## 76                      Nigeria       48116    34309      966  0.78   2.01    5
## 77                    Singapore       55580    50736       27  0.15   0.05    5
## 78                Côte d'Ivoire       16889    13522      107  0.25   0.63    4
## 79                     Ethiopia       26204    11428      479  4.32   1.83    4
## 80                        China       89674    83398     4707  0.09   5.25    3
## 81                        Nepal       25551    17077       99  2.38   0.39    3
## 82 Republika Severna Makedonija       12357     8662      532  1.15   4.31   NA
## 83        Palestinian Territory       15834     9382      106  2.21   0.67   NA

## [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-14   China Hong Kong        4360     3392       66    48
## 2 2020-08-14   China  Shanghai         816      740        7    16
## 3 2020-08-14   China  Xinjiang         891      457        3     8
## 4 2020-08-14   China   Shaanxi         346      324        3     5
## 5 2020-08-14   China Guangdong        1708     1681        8     1
## 6 2020-08-14   China   Sichuan         619      605        3     1