options(width = 100)
source('./predict.R')
## [1] "2020-11-06"
##                              country cum_confirm cum_heal cum_dead inc_r d_rate d_pm
## 1                          Lithuania       20747     5454      192 14.67   0.93   71
## 2                             Poland      493765   188675     7287 12.34   1.48  193
## 3                             Greece       52254     9989      715 11.43   1.37   69
## 4                            Austria      138979    83707     1340 11.10   0.96  149
## 5                             Jordan      101248     8506     1136 10.98   1.12  111
## 6                        Switzerland      211913    87300     2710 10.16   1.28  313
## 7                            Croatia       62305    46021      717 10.14   1.15  175
## 8                              Italy      862681   322925    40638  9.15   4.71  672
## 9                             Serbia       57958    31536      871  8.34   1.50  100
## 10                          Slovenia       42658    18825      497  8.25   1.17  239
## 11                          Malaysia       38189    26380      279  7.80   0.73    9
## 12                            France     1661853   126329    39865  7.68   2.40  611
## 13                           Romania      287062   195971     7663  7.48   2.67  398
## 14                           Germany      640492   402466    11383  7.35   1.78  136
## 15                        Luxembourg       21806    12094      180  7.19   0.83  288
## 16                           Denmark       53692    39136      738  7.16   1.37  127
## 17            Bosnia and Herzegovina       59427    29970     1457  6.89   2.45  444
## 18      Republika Severna Makedonija       37499    22835     1096  6.84   2.92   NA
## 19                          Slovakia       71088    16990      317  6.46   0.45   58
## 20                         Sri Lanka       12970     7186       30  6.42   0.23    1
## 21                          Portugal      166900    93754     2792  6.35   1.67  274
## 22                            Sweden      146461     4971     6022  6.34   4.11  596
## 23                        Montenegro       22079    15294      328  5.89   1.49  522
## 24                          Bulgaria       68345    22709     1518  5.81   2.22  218
## 25                           Georgia       51993    37019      423  5.64   0.81  106
## 26                    Czech Republic      397791   214882     4484  5.04   1.13  419
## 27                           Hungary       99625    23213     2250  4.96   2.26  233
## 28                           Lebanon       91328    45820      700  4.86   0.77  103
## 29                        Azerbaijan       62338    47270      811  4.75   1.30   80
## 30                           Morocco      246349   200954     4127  4.69   1.68  112
## 31                            Norway       23600    11863      285  4.53   1.21   53
## 32                    United Kingdom     1146484     1918    48475  4.32   4.23  714
## 33                           Myanmar       59277    43277     1376  4.10   2.32   25
## 34                           Albania       23210    11861      549  4.08   2.37  191
## 35                            Uganda       13852     7727      131  3.75   0.95    3
## 36                       Netherlands      397730      322     7887  3.70   1.98  460
## 37                             Kenya       60704    40131     1093  3.61   1.80   20
## 38                            Angola       12223     5626      300  3.47   2.45    9
## 39                             Nepal      188883   152908     1070  3.26   0.57   37
## 40                           Tunisia       66334    36727     1577  3.06   2.38  133
## 41                             Libya       66444    38624      915  2.88   1.38  133
## 42                              Iran      663800   509952    37409  2.73   5.64  445
## 43                           Finland       17385    12700      362  2.69   2.08   65
## 44                           Moldova       80501    60220     1882  2.54   2.34  467
## 45                            Canada      253718   210141    10425  2.43   4.11  276
## 46                           Belgium      479341    27987    12520  2.38   2.61 1080
## 47                             Spain     1388411   196958    38833  2.33   2.80  831
## 48                     United States    10026374  6378563   241919  2.29   2.41  731
## 49                           Ukraine      440188   195544     8125  2.26   1.85  186
## 50                           Armenia      101773    61782     1506  2.22   1.48  508
## 51                       Puerto Rico       70519     2267      862  2.17   1.22  301
## 52                           Algeria       60800    41510     2024  2.14   3.33   46
## 53             Palestinian Territory       57226    49537      511  2.03   0.89   NA
## 54                           Belarus      104286    89555     1001  1.93   0.96  106
## 55                        Costa Rica      115417    70421     1453  1.90   1.26  285
## 56              United Arab Emirates      139891   136936      510  1.88   0.36   52
## 57                         Indonesia      429574   360705    14442  1.86   3.36   53
## 58                           Ireland       64538    23364     1940  1.66   3.01  393
## 59                        Mozambique       13485    11275       99  1.52   0.73    3
## 60                              Iraq      493139   423266    11244  1.50   2.28  280
## 61                            Kuwait      130463   121263      804  1.26   0.62  188
## 62                         Guatemala      110502   100319     3794  1.24   3.43  212
## 63                            Turkey      389256   334293    10722  1.23   2.75  127
## 64                            Russia     1733440  1296124    29887  1.20   1.72  205
## 65                             India     8460773  7818434   125605  1.16   1.48   91
## 66                             Japan      106226    95756     1812  1.09   1.71   14
## 67                          Maldives       11932    11041       39  0.93   0.33   72
## 68                         Argentina     1217028  1030137    32766  0.92   2.69  725
## 69                          Colombia     1117977  1011166    32209  0.89   2.88  633
## 70                          Ethiopia       98746    58103     1512  0.88   1.53   13
## 71                Dominican Republic      129300   107038     2261  0.80   1.75  208
## 72                        Bangladesh      417475   335027     6036  0.80   1.45   37
## 73                          Paraguay       65778    45794     1462  0.80   2.22  205
## 74                           Namibia       13143    11578      133  0.74   1.01   52
## 75                        Kyrgyzstan       61748    52855     1170  0.72   1.89  179
## 76                            Brazil     5631181  5064344   162015  0.72   2.88  762
## 77                            Zambia       16819    15862      349  0.72   2.08   19
## 78                        Tajikistan       11256    10546       83  0.68   0.74    9
## 79                             Chile      518390   494303    14450  0.65   2.79  756
## 80                           Nigeria       63731    59844     1155  0.64   1.81    6
## 81                           Ecuador      172508   149048    12761  0.63   7.40  723
## 82                              Peru      917503   838783    34783  0.63   3.79 1055
## 83  Democratic Republic of the Congo       11517    10838      315  0.59   2.74   NA
## 84                            Mexico      949197   701837    93772  0.59   9.88  727
## 85                       South Korea       27195    24821      476  0.54   1.75    9
## 86                       Philippines      391809   349974     7461  0.53   1.90   68
## 87                       El Salvador       34966    30941     1002  0.53   2.87  154
## 88                        Kazakhstan      114826   107339     1857  0.52   1.62   99
## 89                      South Africa      734175   675593    19749  0.50   2.69  333
## 90                           Bahrain       83023    80526      328  0.48   0.40  193
## 91                         Venezuela       93921    88701      819  0.47   0.87   29
## 92                          Pakistan      340251   317086     6923  0.41   2.03   31
## 93                            Panama      136567   115078     2756  0.40   2.02  639
## 94                       Afghanistan       41975    34440     1554  0.39   3.70   40
## 95                             Qatar      133811   130881      232  0.33   0.17   81
## 96                        Uzbekistan       68139    65333      579  0.30   0.85   17
## 97                             Ghana       48788    47521      320  0.30   0.66   10
## 98                            Israel      318402   306890     2644  0.27   0.83  305
## 99                     French Guiana       10620     9995       70  0.27   0.66  234
## 100                             Oman      117167   107368     1286  0.27   1.10  252
## 101                           Guinea       12363    10751       73  0.26   0.59    6
## 102                     Saudi Arabia      349822   336533     5506  0.25   1.57  158
## 103                         Honduras       99347    42574     2736  0.22   2.75  276
## 104                            Egypt      108530   100006     6329  0.19   5.83   62
## 105                          Senegal       15676    15294      326  0.17   2.08   19
## 106                    Côte d'Ivoire       20801    20477      126  0.11   0.61    5
## 107                          Bolivia      142201   113386     8768  0.10   6.17  751
## 108                            China       92164    86831     4748  0.05   5.15    3
## 109                        Australia       27645    25428      907  0.04   3.28   36
## 110                        Singapore       58047    57959       28  0.01   0.05    5
## 111                         Cameroon       22103    21151      429  0.00   1.94   16
## 112                            Sudan       13943     6764      837  0.00   6.00   19
## 113                       Madagascar       17111    16409      244  0.00   1.43    9

## [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-11-06   China       Shanghai        1234     1122        7    11
## 2 2020-11-06   China      Hong Kong        5361     5131      107     6
## 3 2020-11-06   China       Xinjiang         980      903        3     6
## 4 2020-11-06   China        Sichuan         767      722        3     6
## 5 2020-11-06   China      Guangdong        1943     1902        8     5
## 6 2020-11-06   China         Taiwan         574      523        7     5
## 7 2020-11-06   China Inner Mongolia         303      270        1     3
## 8 2020-11-06   China         Fujian         446      415        1     2
## 9 2020-11-06   China       Zhejiang        1288     1279        1     1