source('./predict.R')

## [1] "2020-08-04"
##                         country cum_confirm cum_heal cum_dead inc_r d_rate d_pm
## 1                       Belgium       70314    17598     9850  0.67  14.01  850
## 2                United Kingdom      305623     1918    46210  0.30  15.12  681
## 3                         Spain      344134   196958    28472  2.54   8.27  609
## 4                          Peru      433100   298091    19811  0.99   4.57  601
## 5                         Italy      248229   200589    35166  0.06  14.17  582
## 6                        Sweden       81181     4971     5747  0.21   7.08  569
## 7                         Chile      361493   333976     9707  0.49   2.69  508
## 8                 United States     4864227  2448305   159000  0.98   3.27  480
## 9                        France      191295    81500    30294  1.80  15.84  464
## 10                       Brazil     2751665  1912319    94702  0.66   3.44  446
## 11                       Mexico      443813   295677    48012  1.09  10.82  372
## 12                  Netherlands       55955      322     6150  0.87  10.99  359
## 13                      Ireland       26208    23364     1763  0.18   6.73  357
## 14                       Panama       68456    42093     1497  1.49   2.19  347
## 15                      Ecuador       87041    59344     5767  0.60   6.63  327
## 16                      Bolivia       81846    24510     3228  2.11   3.94  277
## 17                      Armenia       39298    30372      768  0.50   1.95  259
## 18                       Canada      117031   101597     8947  0.13   7.64  237
## 19                  Switzerland       35746    31500     1981  0.37   5.54  229
## 20                   Kyrgyzstan       37541    28743     1427  1.11   3.80  219
## 21                     Colombia      327850   173727    11017  3.21   3.36  217
## 22                         Iran      314786   272535    17617  0.88   5.60  210
## 23                      Moldova       25482    17942      800  0.00   3.14  198
## 24                     Portugal       51681    37318     1739  0.22   3.36  171
## 25                 South Africa      516862   358037     8539  1.05   1.65  144
## 26                     Honduras       43794     5854     1384  1.38   3.16  140
## 27                      Romania       55241    28006     2480  2.28   4.49  129
## 28                         Iraq      134722    96103     5017  2.15   3.72  125
## 29       Bosnia and Herzegovina       12856     6592      373  3.16   2.90  114
## 30                    Guatemala       51542    39346     2013  0.46   3.91  112
## 31                      Germany      212597   197797     9330  0.27   4.39  111
## 32           Dominican Republic       73117    38824     1183  1.21   1.62  109
## 33                       Kuwait       68774    60326      465  0.70   0.68  109
## 34                      Denmark       14235    12887      616  0.00   4.33  106
## 35                       Russia      861423   661471    14351  0.60   1.67   98
## 36                      Bahrain       41835    39007      150  0.72   0.36   88
## 37                 Saudi Arabia      281456   243713     2984  0.49   1.06   86
## 38                    Argentina      206743    94129     3863  2.39   1.87   85
## 39                         Oman       79159    61421      421  0.00   0.53   82
## 40                      Austria       21481    19336      719  0.45   3.35   80
## 41                  Puerto Rico       18791        0      230  0.00   1.22   80
## 42                  El Salvador       17843     8845      486  0.00   2.72   75
## 43                       Serbia       26738    14047      605  1.09   2.26   69
## 44                       Turkey      233851   217497     5747  0.43   2.46   68
## 45                       Israel       75083    49763      554  2.53   0.74   64
## 46                      Belarus       68250    63163      574  0.12   0.84   61
## 47                        Qatar      111538   108254      177  0.19   0.16   61
## 48                     Bulgaria       12159     6684      404  1.71   3.32   58
## 49                   Kazakhstan       93820    65132     1058  1.25   1.13   56
## 50                        Egypt       94640    44066     4888  0.17   5.16   48
## 51                   Azerbaijan       32910    28348      473  0.69   1.44   47
## 52                       Poland       48149    35056     1738  1.43   3.61   46
## 53                      Ukraine       74219    40613     1764  1.45   2.38   40
## 54               Czech Republic       17008    11708      386  1.24   2.27   36
## 55         United Arab Emirates       61352    55090      351  0.58   0.57   35
## 56                   Costa Rica       19402     4689      171  2.25   0.88   34
## 57                  Afghanistan       36747    25669     1288  0.10   3.51   33
## 58                      Algeria       31972    21901     1239  1.61   3.88   28
## 59                        India     1865947  1237885    39081  1.91   2.09   28
## 60                     Pakistan      280461   249397     5999  0.15   2.14   27
## 61                   Bangladesh      244020   139860     3234  0.79   1.33   20
## 62                    Indonesia      115056    72050     5388  1.70   4.68   20
## 63                  Philippines      112593    66049     2115  5.89   1.88   19
## 64                        Sudan       11780     6194      763  0.36   6.48   17
## 65                     Cameroon       17255    15320      391  0.00   2.27   15
## 66                      Senegal       10432     6920      214  0.44   2.05   13
## 67                      Morocco       26196    18968      401  2.58   1.53   11
## 68                    Australia       18730    10622      232  2.25   1.24    9
## 69                        Japan       40217    26487     1018  0.00   2.53    8
## 70                        Kenya       22597     8740      382  0.00   1.69    7
## 71                        Ghana       37812    34313      191  0.00   0.51    6
## 72                  South Korea       14422    13352      301  0.23   2.09    6
## 73                    Venezuela       20754    11622      180  2.71   0.87    6
## 74                    Singapore       53346    47179       27  0.56   0.05    5
## 75                   Uzbekistan       26804    17838      163  2.83   0.61    5
## 76                Côte d'Ivoire       16220    11887      102  0.23   0.63    4
## 77                   Madagascar       11895     9286      123  2.02   1.03    4
## 78                      Nigeria       44129    20663      896  0.66   2.03    4
## 79                        China       88653    81658     4683  0.13   5.28    3
## 80                     Ethiopia       19289     7931      336  3.12   1.74    3
## 81                        Nepal       21009    15026       58  1.25   0.28    2
## 82 Republika Severna Makedonija       11202     7108      505  0.66   4.51   NA
## 83        Palestinian Territory       12770     6419       84  1.83   0.66   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-04   China Hong Kong        3669     2141       42    78
## 2 2020-08-04   China  Xinjiang         724      115        3    28
## 3 2020-08-04   China Guangdong        1687     1659        8     4
## 4 2020-08-04   China  Liaoning         255      160        2     2
## 5 2020-08-04   China  Shanghai         750      727        7     1
## 6 2020-08-04   China   Sichuan         609      597        3     1