options(width = 100)
source('./predict.R')

## [1] "2020-09-01"
##                             country cum_confirm cum_heal cum_dead inc_r d_rate d_pm
## 1                     United States     6213751  3457318   187825  0.62   3.02  567
## 2                            Brazil     3910901  3097734   121515  1.26   3.11  572
## 3                             India     3715931  2856147    65725  2.06   1.77   48
## 4                            Mexico      599560   416738    64414  0.62  10.74  500
## 5                    United Kingdom      335873     1918    41501  0.42  12.36  611
## 6                             Italy      269214   207653    35483  0.37  13.18  587
## 7                            France      281025    86469    30635  1.11  10.90  469
## 8                             Spain      462858   196958    29094  1.59   6.29  622
## 9                              Peru      652037   462329    28944  0.75   4.44  878
## 10                             Iran      376894   325124    21672  0.45   5.75  258
## 11                         Colombia      615168   459475    19663  1.19   3.20  386
## 12                           Russia     1000048   815705    17299  0.48   1.73  119
## 13                     South Africa      627041   540923    14149  0.32   2.26  239
## 14                            Chile      411726   383879    11289  0.43   2.74  591
## 15                          Belgium       85236    18422     9895  0.23  11.61  854
## 16                          Germany      245150   218308     9468  0.63   3.86  113
## 17                           Canada      128948   114227     9126  0.79   7.08  242
## 18                        Argentina      417735   308376     8730  2.28   2.09  193
## 19                        Indonesia      177571   128057     7505  1.59   4.23   27
## 20                             Iraq      238338   180473     7123  3.10   2.99  177
## 21                          Ecuador      113767   101669     6556  0.10   5.76  372
## 22                           Turkey      270133   244926     6370  0.59   2.36   76
## 23                         Pakistan      296149   280970     6298  0.10   2.13   29
## 24                      Netherlands       71129      322     6230  0.65   8.76  364
## 25                           Sweden       84521     4971     5813  0.17   6.88  576
## 26                            Egypt       98939    72929     5421  0.21   5.48   53
## 27                          Bolivia      116598    60408     5027  0.54   4.31  431
## 28                            China       90414    85108     4731  0.02   5.23    3
## 29                       Bangladesh      314946   208177     4316  0.62   1.37   26
## 30                     Saudi Arabia      316670   291514     3929  0.28   1.24  113
## 31                          Romania       88593    38454     3681  1.20   4.15  191
## 32                      Philippines      224264   158012     3597  1.56   1.60   33
## 33                        Guatemala       74074    62068     2760  0.22   3.73  154
## 34                          Ukraine      123303    57802     2605  1.72   2.11   60
## 35                           Poland       67922    47030     2058  0.82   3.03   54
## 36                      Switzerland       42393    36100     2011  0.51   4.74  232
## 37                           Panama       92982    66173     2002  1.00   2.15  464
## 38                         Honduras       61014    10396     1873  1.40   3.07  189
## 39                         Portugal       58243    42104     1824  0.82   3.13  179
## 40                          Ireland       28811    23364     1777  0.18   6.17  360
## 41               Dominican Republic       94715    68082     1710  0.50   1.81  158
## 42                       Kazakhstan      105872    96899     1523  0.07   1.44   81
## 43                          Algeria       44494    31244     1510  0.79   3.39   34
## 44                      Afghanistan       38196    29231     1406  0.08   3.68   36
## 45                            Japan       69151    57823     1313  0.93   1.90   10
## 46                          Morocco       62590    47595     1141  1.94   1.82   31
## 47                       Kyrgyzstan       43958    38649     1059  0.14   2.41  162
## 48                          Nigeria       54008    41638     1013  0.27   1.88    5
## 49                          Moldova       36920    25872      995  0.60   2.70  247
## 50                           Israel      117241    95596      946  1.90   0.81  109
## 51                          Armenia       43878    38356      881  0.22   2.01  297
## 52                            Sudan       13189     6612      823  0.00   6.24   19
## 53                         Ethiopia       52131    18994      809  1.97   1.55    7
## 54                          Austria       27642    23565      734  0.74   2.66   81
## 55                      El Salvador       25820    14570      724  0.35   2.80  112
## 56                           Serbia       31482    30053      715  0.37   2.27   82
## 57                             Oman       85928    81024      689  0.24   0.80  135
## 58                          Belarus       71843    70468      681  0.00   0.95   72
## 59                        Australia       25819    21503      657  0.28   2.54   26
## 60                         Bulgaria       16266    11483      629  0.47   3.87   91
## 61                          Denmark       17410    15593      624  0.00   3.58  108
## 62           Bosnia and Herzegovina       20234    13435      620  1.35   3.06  189
## 63     Republika Severna Makedonija       14455    11525      604  0.79   4.18   NA
## 64                            Kenya       34201    19893      577  0.42   1.69   11
## 65                       Azerbaijan       36578    33977      536  0.39   1.47   53
## 66                           Kuwait       85811    77657      534  0.82   0.62  125
## 67                       Costa Rica       41287    16056      436  4.00   1.06   86
## 68                      Puerto Rico       33421     2267      435  0.67   1.30  152
## 69                   Czech Republic       24618    17807      424  1.03   1.72   40
## 70                         Cameroon       19142    17651      411  0.00   2.15   15
## 71                        Venezuela       46728    38112      386  1.87   0.83   14
## 72             United Arab Emirates       70231    60931      384  0.78   0.55   39
## 73                         Paraguay       17662     9421      326  3.26   1.85   46
## 74                      South Korea       20182    15198      324  1.18   1.61    6
## 75                       Uzbekistan       41994    39275      322  0.50   0.77   10
## 76                           Zambia       12097    11469      288  0.00   2.38   16
## 77                          Senegal       13655     9484      284  0.32   2.08   17
## 78                            Ghana       44298    42963      276  0.21   0.62    9
## 79                           Greece       10317     3804      266  1.81   2.58   26
## 80                           Norway       10782     9348      264  1.31   2.45   49
## 81 Democratic Republic of the Congo       10104     9322      259  0.59   2.56   NA
## 82                            Libya       14624     1676      242  4.71   1.65   35
## 83                            Nepal       40529    22178      239  2.71   0.59    8
## 84                            Qatar      118994   115895      198  0.18   0.17   69
## 85                       Madagascar       14957    13915      195  0.63   1.30    7
## 86                          Bahrain       51972    49047      190  0.77   0.37  112
## 87                          Croatia       10414     7735      187  1.41   1.80   46
## 88                          Lebanon       17308     4811      167  2.60   0.96   24
## 89            Palestinian Territory       23281    15338      159  2.43   0.68   NA
## 90                    Côte d'Ivoire       18067    16699      117  0.66   0.65    4
## 91                        Singapore       56852    55658       27  0.07   0.05    5

## [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-09-01   China      Hong Kong        4822     4380       90    12
## 2 2020-09-01   China          Hebei         365      346        6     3
## 3 2020-09-01   China Inner Mongolia         261      257        1     1
## 4 2020-09-01   China       Shanghai         904      842        7     1
## 5 2020-09-01   China         Fujian         383      368        1     1
## 6 2020-09-01   China      Guangdong        1740     1721        8     1